| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final float | |
| private RoundRectangle2D | |
| private static final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected RectBounds | computeOpaqueRegion(RectBounds opaqueRegion)
Overrides com. Computes and returns the opaque region for this node. |
| protected ShapeRep | |
| public final Shape | |
| protected boolean | hasOpaqueRegion()
Overrides com. Called only on NGNode subclasses which override |
| private static boolean | |
| protected final boolean | Returns: whether this rectangle is axis aligned when rendered given node's and rendering transformOverrides com. Returns whether a clip represented by this node can be rendered using axis aligned rect clip. |
| pack-priv boolean | |
| pack-priv static boolean | |
| protected void | |
| private boolean | |
| protected boolean | supportsOpaqueRegions()
Overrides com. Gets whether this NGNode supports opaque regions at all. |
| public void |
| HALF_MINUS_HALF_SQRT_HALF | back to summary |
|---|---|
| pack-priv static final float HALF_MINUS_HALF_SQRT_HALF | |
| rrect | back to summary |
|---|---|
| private RoundRectangle2D rrect | |
| SQRT_2 | back to summary |
|---|---|
| private static final double SQRT_2 | |
| NGRectangle | back to summary |
|---|---|
| public NGRectangle() | |
| computeOpaqueRegion | back to summary |
|---|---|
| protected RectBounds computeOpaqueRegion(RectBounds opaqueRegion) Overrides com. Doc from com. Computes and returns the opaque region for this node. This method
| |
| createShapeRep | back to summary |
|---|---|
| protected ShapeRep createShapeRep(Graphics g) Overrides com.
| |
| getShape | back to summary |
|---|---|
| public final Shape getShape() Implements abstract com.
| |
| hasOpaqueRegion | back to summary |
|---|---|
| protected boolean hasOpaqueRegion() Overrides com. Doc from com. Called only on NGNode subclasses which override
| |
| hasRightAngleMiterAndNoDashes | back to summary |
|---|---|
| private static boolean hasRightAngleMiterAndNoDashes(BasicStroke bs) | |
| isRectClip | back to summary |
|---|---|
| protected final boolean isRectClip(BaseTransform xform, boolean permitRoundedRectangle) Overrides com. Returns whether a clip represented by this node can be rendered using axis aligned rect clip. The return value depends on whether the rectangle has arcs, current rendering mode (stroked or not), and whether the transform is only translate or scale or something more complex.
| |
| isRounded | back to summary |
|---|---|
| pack-priv boolean isRounded() | |
| rectContains | back to summary |
|---|---|
| pack-priv static boolean rectContains(float x, float y, NGShape node, RectangularShape r) | |
| renderEffect | back to summary |
|---|---|
| protected void renderEffect(Graphics g) Overrides com.
| |
| renderEffectDirectly | back to summary |
|---|---|
| private boolean renderEffectDirectly(Graphics g) | |
| supportsOpaqueRegions | back to summary |
|---|---|
| protected boolean supportsOpaqueRegions() Overrides com. Doc from com. Gets whether this NGNode supports opaque regions at all. Most node types do not, but some do. If an NGNode subclass is written to support opaque regions, it must override this method to return true. The subclass must then also override the computeDirtyRegion method to return the dirty region, or null if the node in its current state doesn't have one. This method is intended to be immutable.
| |
| updateRectangle | back to summary |
|---|---|
| public void updateRectangle(float x, float y, float width, float height, float arcWidth, float arcHeight) | |