|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.refimpl.gvt.AbstractGraphicsNode | +--org.apache.batik.refimpl.gvt.ConcreteRasterImageNode
An implementation of the RasterImageNode interface.
Field Summary | |
static java.awt.geom.AffineTransform |
IDENTITY
|
protected Filter |
image
The renderable image that represents this image node. |
protected java.awt.geom.Rectangle2D |
imageBounds
The Bounds of this image node. |
Fields inherited from class org.apache.batik.refimpl.gvt.AbstractGraphicsNode |
clip, composite, cursor, eventFilter, filter, hints, hitDetector, isVisible, listeners, mask, mememtos, parent, root, transform |
Fields inherited from interface org.apache.batik.gvt.GraphicsNode |
KEY_AREA_OF_INTEREST |
Constructor Summary | |
ConcreteRasterImageNode()
Constructs a new empty raster image node. |
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. |
boolean |
hasProgressivePaint()
Returns true if this node needs a progressive paint, false otherwise. |
void |
primitivePaint(java.awt.Graphics2D g2d,
GraphicsNodeRenderContext rc)
Paints this node without applying Filter, Mask, Composite and clip. |
void |
progressivePaint(java.awt.Graphics2D g2d,
GraphicsNodeRenderContext rc)
Paints one step of this node rendering operations. |
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. |
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
public static java.awt.geom.AffineTransform IDENTITY
Constructor Detail |
public ConcreteRasterImageNode()
Method Detail |
public void setImage(Filter newImage)
RasterImageNode
setImage
in interface RasterImageNode
org.apache.batik.gvt.RasterImageNode
newImage
- the new raster image of this raster image nodepublic Filter getImage()
RasterImageNode
getImage
in interface RasterImageNode
org.apache.batik.gvt.RasterImageNode
public void setImageBounds(java.awt.geom.Rectangle2D newImageBounds)
RasterImageNode
setImageBounds
in interface RasterImageNode
org.apache.batik.gvt.RasterImageNode
newBounds
- the new bounds of this raster image nodepublic java.awt.geom.Rectangle2D getImageBounds()
RasterImageNode
getImageBounds
in interface RasterImageNode
org.apache.batik.gvt.RasterImageNode
public boolean hasProgressivePaint()
GraphicsNode
hasProgressivePaint
in interface GraphicsNode
org.apache.batik.gvt.GraphicsNode
public void progressivePaint(java.awt.Graphics2D g2d, GraphicsNodeRenderContext rc)
GraphicsNode
progressivePaint
in interface GraphicsNode
org.apache.batik.gvt.GraphicsNode
g2d
- the Graphics2D to userc
- the GraphicsNodeRenderContext to usepublic void primitivePaint(java.awt.Graphics2D g2d, GraphicsNodeRenderContext rc)
GraphicsNode
primitivePaint
in interface GraphicsNode
org.apache.batik.gvt.GraphicsNode
g2d
- the Graphics2D to userc
- the GraphicsNodeRenderContext to usepublic java.awt.geom.Rectangle2D getPrimitiveBounds()
GraphicsNode
getPrimitiveBounds
in interface GraphicsNode
public java.awt.geom.Rectangle2D getGeometryBounds()
GraphicsNode
getGeometryBounds
in interface GraphicsNode
public java.awt.Shape getOutline()
GraphicsNode
getOutline
in interface GraphicsNode
org.apache.batik.gvt.GraphicsNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |