public class NGLine extends NGShape
NGShape.Mode
NGNode.DirtyFlag, NGNode.RenderRootResult
drawPaint, drawStroke, fillPaint, mode, shapeRep
childDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, 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, visualsChanged
accumulateDirtyRegions, applyClip, applyEffect, applyTransform, clearDirty, clearDirtyTree, clearPainted, computeOpaqueRegion, computePadding, doPreCulling, doRender, drawDirtyOpts, effectChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isRectClip, isVisible, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, release, render, renderEffect, renderForcedContent, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toString
public void updateLine(float x1, float y1, float x2, float y2)
protected void renderContent2D(Graphics g, boolean printing)
NGShape
renderContent2D
in class NGShape
g
- The graphics object to render withCopyright © 2020. All rights reserved.