public abstract class AbstractShapeNode extends GraphicContentNode
Modifier and Type | Field and Description |
---|---|
IFillNode |
fill |
IStrokeNode |
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 |
---|
AbstractShapeNode() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this node.
|
Rect |
getBounds(List<ShapeRecord> records,
LineStyle ls)
Returns the bounds of the shapes
Default implementation - to be overridden by individual classes
|
List<IFXGNode> |
getChildren()
debug method, do not use
|
convertTransformAttrToMatrix, createGraphicContext, getId, getLuminosityClip, getLuminosityInvert, getMask, getMaskType, parseBlendMode, setAttribute, 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, getNodeName, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLine
public IFillNode fill
public IStrokeNode stroke
public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
GraphicContentNode
Graphic content nodes support child property nodes <filter>, <mask>, <matrix>, or <colorTransform>.
addChild
in interface IFXGNode
addChild
in class GraphicContentNode
child
- - a child FXG node to be added to this node.problems
- problem collection used to collect problems occurred within this methodpublic List<IFXGNode> getChildren()
IFXGNode
getChildren
in interface IFXGNode
getChildren
in class GraphicContentNode
public Rect getBounds(List<ShapeRecord> records, LineStyle ls)
Copyright © 2016 The Apache Software Foundation. All rights reserved.