public static class SVGPatternElementBridge.PatternGraphicsNode extends AbstractGraphicsNode
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.geom.Rectangle2D |
gBounds |
(package private) java.awt.Shape |
oShape |
(package private) java.awt.geom.Rectangle2D |
pBounds |
(package private) GraphicsNode |
pcn |
(package private) java.awt.geom.Rectangle2D |
sBounds |
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 |
---|
PatternGraphicsNode(GraphicsNode gn) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getGeometryBounds()
Returns the bounds of the area covered by this node, without
taking any of its rendering attribute into account.
|
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.
|
java.awt.geom.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.
|
protected void |
invalidateGeometryCache()
Invalidates the cached geometric bounds.
|
void |
primitivePaint(java.awt.Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite, and clip.
|
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, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, nodeHitAt, normalizeRectangle, paint, setClip, setComposite, setFilter, setMask, setParent, setPointerEventType, setRenderingHint, setRenderingHints, setRenderingHints, setRoot, setTransform, setVisible
GraphicsNode pcn
java.awt.geom.Rectangle2D pBounds
java.awt.geom.Rectangle2D gBounds
java.awt.geom.Rectangle2D sBounds
java.awt.Shape oShape
public PatternGraphicsNode(GraphicsNode gn)
public void primitivePaint(java.awt.Graphics2D g2d)
GraphicsNode
g2d
- the Graphics2D to usepublic java.awt.geom.Rectangle2D getPrimitiveBounds()
GraphicsNode
public java.awt.geom.Rectangle2D getGeometryBounds()
GraphicsNode
public java.awt.geom.Rectangle2D getSensitiveBounds()
GraphicsNode
public java.awt.Shape getOutline()
GraphicsNode
protected void invalidateGeometryCache()
AbstractGraphicsNode
invalidateGeometryCache
in class AbstractGraphicsNode