|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an extension of RenderableImage that adds some needed functionality for tracking dirty regions and determining image dependancies.
Field Summary |
Fields inherited from interface java.awt.image.renderable.RenderableImage |
HINTS_OBSERVED |
Method Summary | |
Rectangle2D |
getBounds2D()
Returns the bounds of the current image. |
Shape |
getDependencyRegion(int srcIndex,
Rectangle2D outputRgn)
Returns the region of input data is is required to generate outputRgn. |
Shape |
getDirtyRegion(int srcIndex,
Rectangle2D inputRgn)
This calculates the region of output that is affected by a change in a region of input. |
long |
getTimeStamp()
Returns the current modification timestamp on this Renderable node. |
Methods inherited from interface java.awt.image.renderable.RenderableImage |
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
Method Detail |
public Rectangle2D getBounds2D()
public long getTimeStamp()
public Shape getDependencyRegion(int srcIndex, Rectangle2D outputRgn)
srcIndex
- The source to do the dependency calculation for.outputRgn
- The region of output you are interested in
generating dependencies for. The is given in the user coordiate
system for this node.
public Shape getDirtyRegion(int srcIndex, Rectangle2D inputRgn)
srcIndex
- The input that inputRgn reflects changes in.inputRgn
- the region of input that has changed, used to
calculate the returned shape. This is given in the user
coordinate system of the source indicated by srcIndex.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |