|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.gvt.AbstractGraphicsNode | +--org.apache.batik.gvt.RasterImageNode
A graphics node that represents a raster image.
Field Summary | |
protected boolean |
calcAffine
This flag indicates whether or not the affine transforms have been computed. |
protected Filter |
image
The renderable image that represents this image node. |
protected java.awt.geom.Rectangle2D |
imageBounds
The Bounds of this image node. |
protected java.awt.geom.AffineTransform |
img2usr
The transform that go from the image to the user coordinate system. |
protected java.awt.geom.AffineTransform |
usr2img
The transform that go from the user to the image coordinate system. |
Fields inherited from class org.apache.batik.gvt.AbstractGraphicsNode |
clip, composite, filter, graphicsNodeRable, hints, hitDetector, inverseTransform, isVisible, listeners, mask, parent, root, transform |
Fields inherited from interface org.apache.batik.gvt.GraphicsNode |
IDENTITY |
Constructor Summary | |
RasterImageNode()
Constructs a new empty RasterImageNode. |
Method Summary | |
java.awt.geom.Rectangle2D |
getGeometryBounds()
Returns the bounds of the area covered by this node, without taking any of its rendering attribute into account. i.e., exclusive of any clipping, masking, filtering or stroking, for example. |
Filter |
getImage()
Returns the raster image of this raster image node. |
java.awt.geom.Rectangle2D |
getImageBounds()
Returns the bounds of this raster image node. |
java.awt.Shape |
getOutline()
Returns the outline of this node. |
java.awt.geom.Rectangle2D |
getPrimitiveBounds()
Returns the bounds of the area covered by this node's primitive paint. |
void |
primitivePaint(java.awt.Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite and clip. |
void |
setImage(Filter newImage)
Sets the raster image of this raster image node. |
void |
setImageBounds(java.awt.geom.Rectangle2D newImageBounds)
Sets the bounds of this raster image node. |
protected void |
updateAffine()
Updates bith the user->image and image->user transform. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Filter image
protected java.awt.geom.Rectangle2D imageBounds
protected java.awt.geom.AffineTransform img2usr
protected java.awt.geom.AffineTransform usr2img
protected boolean calcAffine
Constructor Detail |
public RasterImageNode()
Method Detail |
public void setImage(Filter newImage)
newImage
- the new raster image of this raster image nodepublic Filter getImage()
public void setImageBounds(java.awt.geom.Rectangle2D newImageBounds)
newBounds
- the new bounds of this raster image nodepublic java.awt.geom.Rectangle2D getImageBounds()
protected void updateAffine()
public void primitivePaint(java.awt.Graphics2D g2d)
g2d
- the Graphics2D to usepublic java.awt.geom.Rectangle2D getPrimitiveBounds()
public java.awt.geom.Rectangle2D getGeometryBounds()
public java.awt.Shape getOutline()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |