public class NGPath extends NGShape
NGShape.ModeNGNode.DirtyFlag, NGNode.RenderRootResultdrawPaint, drawStroke, fillPaint, mode, shapeRepchildDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds| Constructor and Description |
|---|
NGPath() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsPath2dOnUpdate() |
void |
addArcTo(float arcX,
float arcY,
float arcW,
float arcH,
float arcStart,
float arcExtent,
float xAxisRotation) |
void |
addClosePath() |
void |
addCubicTo(float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x,
float y) |
void |
addLineTo(float x,
float y) |
void |
addMoveTo(float x,
float y) |
void |
addQuadTo(float ctrlx,
float ctrly,
float x,
float y) |
float |
getCurrentX() |
float |
getCurrentY() |
Path2D |
getGeometry() |
Shape |
getShape() |
void |
reset() |
void |
setFillRule(FillRule fillRule) |
void |
update() |
void |
updateWithPath2d(Path2D path) |
createShapeRep, geometryChanged, getFillPaint, getMode, getStrokeShape, hasOpaqueRegion, hasOverlappingContents, isSmooth, renderContent, renderContent2D, setDrawPaint, setDrawStroke, setDrawStroke, setFillPaint, setMode, setSmooth, visualsChangedaccumulateDirtyRegions, 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, toStringpublic void reset()
public void update()
public void setFillRule(FillRule fillRule)
public float getCurrentX()
public float getCurrentY()
public void addClosePath()
public void addMoveTo(float x,
float y)
public void addLineTo(float x,
float y)
public void addQuadTo(float ctrlx,
float ctrly,
float x,
float y)
public void addCubicTo(float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x,
float y)
public void addArcTo(float arcX,
float arcY,
float arcW,
float arcH,
float arcStart,
float arcExtent,
float xAxisRotation)
public Path2D getGeometry()
public boolean acceptsPath2dOnUpdate()
public void updateWithPath2d(Path2D path)
Copyright © 2025. All rights reserved.