public class PathNode extends AbstractShapeNode
Modifier and Type | Field and Description |
---|---|
String |
data |
Winding |
winding |
fill, stroke
alpha, alphaSet, blendMode, colorTransform, filters, id, isPartofClipMask, luminosityClip, luminosityInvert, mask, maskType, maskTypeSet, matrix, rotation, rotationSet, scaleSet, scaleX, scaleY, translateSet, visible, x, y
ALPHA_MAX_INCLUSIVE, ALPHA_MIN_INCLUSIVE, COLOR_BLACK, COLOR_RED, COLOR_WHITE, documentNode, endColumn, endLine, EPSILON, GRADIENT_ENTRIES_MAX_INCLUSIVE, startColumn, startLine, uri
Constructor and Description |
---|
PathNode() |
Modifier and Type | Method and Description |
---|---|
Rect |
getBounds(List<ShapeRecord> records,
LineStyle ls)
Returns the bounds of the path
|
String |
getNodeName() |
protected Winding |
getWinding(String value,
Collection<ICompilerProblem> problems) |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this FXG node.
|
addChild, getChildren
convertTransformAttrToMatrix, createGraphicContext, getId, getLuminosityClip, getLuminosityInvert, getMask, getMaskType, parseBlendMode, setId, setParentGraphicContext
getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getFileVersion, getNodeURI, getStartColumn, getStartLine, isVersionGreaterThanCompiler, setDocumentNode, setEndColumn, setEndLine, setNodeURI, setStartColumn, setStartLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLine
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
GraphicContentNode
Graphic content nodes support the following attributes:
Graphic content nodes also support an id attribute.
setAttribute
in interface IFXGNode
setAttribute
in class GraphicContentNode
name
- - the unqualified attribute namevalue
- - the attribute valueproblems
- problem collection used to collect problems occurred within this methodpublic String getNodeName()
protected Winding getWinding(String value, Collection<ICompilerProblem> problems)
public Rect getBounds(List<ShapeRecord> records, LineStyle ls)
getBounds
in class AbstractShapeNode
Copyright © 2016 The Apache Software Foundation. All rights reserved.