public class NGLine extends NGShape
NGShape.ModeNGNode.DirtyFlag, NGNode.RenderRootResult| Modifier and Type | Field and Description |
|---|---|
private Line2D |
line |
drawPaint, drawStroke, fillPaint, mode, shapeRep, THRESHOLDchildDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, DIRTY_REGION_CONTAINS_NODE_BOUNDS, DIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDS, DIRTY_REGION_INTERSECTS_NODE_BOUNDS, dirtyBounds, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds| Constructor and Description |
|---|
NGLine() |
| Modifier and Type | Method and Description |
|---|---|
Shape |
getShape() |
protected void |
renderContent2D(Graphics g,
boolean printing)
Renders the content as though it is 2D in all cases.
|
void |
updateLine(float x1,
float y1,
float x2,
float y2) |
createShapeRep, geometryChanged, getFillPaint, getMode, getStrokeShape, hasOpaqueRegion, hasOverlappingContents, isSmooth, renderContent, setDrawPaint, setDrawStroke, setDrawStroke, setFillPaint, setMode, setSmooth, visualsChangedaccumulateDirtyRegions, accumulateGroupDirtyRegion, accumulateNodeDirtyRegion, applyClip, applyEffect, applyTransform, checkBoundsInQuad, clearDirty, clearDirtyTree, clearPainted, computeNodeRenderRoot, computeOpaqueRegion, computePadding, computeRenderRoot, doPreCulling, doRender, drawDirtyOpts, effectChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getFilterContext, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isOpaqueRegionInvalid, isReadbackSupported, isRectClip, isShape3D, isVisible, markCullRegions, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, release, render, renderClip, renderEffect, renderForcedContent, renderForClip, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toStringprivate Line2D line
public void updateLine(float x1,
float y1,
float x2,
float y2)
protected void renderContent2D(Graphics g, boolean printing)
NGShaperenderContent2D in class NGShapeg - The graphics object to render with