public class RasterImageNode extends AbstractGraphicsNode
Modifier and Type | Field and Description |
---|---|
protected Filter |
image
The renderable image that represents this image node.
|
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, filter, graphicsNodeRable, hints, inverseTransform, isVisible, listeners, mask, parent, pointerEventType, root, transform, weakRef
ALL, FILL, IDENTITY, NONE, PAINTED, STROKE, VISIBLE, VISIBLE_FILL, VISIBLE_PAINTED, VISIBLE_STROKE
Constructor and Description |
---|
RasterImageNode()
Constructs a new empty
RasterImageNode . |
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getGeometryBounds()
Returns the bounds of the area covered by this node, without taking any
of its rendering attribute into account.
|
Filter |
getGraphicsNodeRable()
Returns the RenderableImage for this node.
|
Filter |
getImage()
Returns the raster image of this raster image node.
|
Rectangle2D |
getImageBounds()
Returns the bounds of this raster image node.
|
Shape |
getOutline()
Returns the outline of this node.
|
Rectangle2D |
getPrimitiveBounds()
Returns the bounds of the area covered by this node's primitive paint.
|
Rectangle2D |
getSensitiveBounds()
Returns the bounds of the sensitive area covered by this node,
This includes the stroked area but does not include the effects
of clipping, masking or filtering.
|
void |
primitivePaint(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.
|
contains, fireGraphicsNodeChangeCompleted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, getBounds, getClip, getComposite, getEnableBackgroundGraphicsNodeRable, getFilter, getGlobalTransform, getGraphicsNodeRable, getInverseTransform, getMask, getParent, getPointerEventType, getRenderingHints, getRoot, getTransform, getTransformedBounds, getTransformedGeometryBounds, getTransformedPrimitiveBounds, getTransformedSensitiveBounds, getWeakReference, intersects, invalidateGeometryCache, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, nodeHitAt, normalizeRectangle, paint, setClip, setComposite, setFilter, setMask, setParent, setPointerEventType, setRenderingHint, setRenderingHints, setRenderingHints, setRoot, setTransform, setVisible
protected Filter image
public void setImage(Filter newImage)
newImage
- the new raster image of this raster image nodepublic Filter getImage()
public Rectangle2D getImageBounds()
public Filter getGraphicsNodeRable()
public void primitivePaint(Graphics2D g2d)
g2d
- the Graphics2D to usepublic Rectangle2D getPrimitiveBounds()
public Rectangle2D getGeometryBounds()
public Rectangle2D getSensitiveBounds()
public Shape getOutline()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.