class CachingShapeRepState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
CachingShapeRepState.CacheEntry |
private static class |
CachingShapeRepState.CSRDisposerRecord |
private static class |
CachingShapeRepState.MaskCache |
private static class |
CachingShapeRepState.MaskTexData |
Modifier and Type | Field and Description |
---|---|
private float[] |
bbox |
private Disposer.Record |
disposerRecord |
private java.lang.Object |
disposerReferent |
private static BaseTransform |
IDENT |
private BaseTransform |
lastXform |
private static CachingShapeRepState.MaskCache |
maskCache |
private int |
renderCount |
private CachingShapeRepState.MaskTexData |
texData |
private java.lang.Boolean |
tryCache |
Constructor and Description |
---|
CachingShapeRepState() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
dispose() |
(package private) void |
drawNoCache(Graphics g,
Shape shape) |
private static boolean |
equalsIgnoreTranslation(BaseTransform a,
BaseTransform b)
Returns true if the two transforms are equal or if they differ only
in their translation components; otherwise returns false.
|
(package private) void |
fillNoCache(Graphics g,
Shape shape) |
(package private) void |
invalidate() |
private void |
invalidateMaskTexData() |
(package private) void |
render(Graphics g,
Shape shape,
RectBounds shapeBounds,
BasicStroke stroke) |
private static final BaseTransform IDENT
private static final CachingShapeRepState.MaskCache maskCache
private int renderCount
private java.lang.Boolean tryCache
private BaseTransform lastXform
private final CachingShapeRepState.MaskTexData texData
private float[] bbox
private final java.lang.Object disposerReferent
private final Disposer.Record disposerRecord
private static boolean equalsIgnoreTranslation(BaseTransform a, BaseTransform b)
void invalidate()
private void invalidateMaskTexData()
void render(Graphics g, Shape shape, RectBounds shapeBounds, BasicStroke stroke)
void dispose()