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, yALPHA_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, setParentGraphicContextgetDocumentNode, getDocumentPath, getEndColumn, getEndLine, getFileVersion, getNodeURI, getStartColumn, getStartLine, isVersionGreaterThanCompiler, setDocumentNode, setEndColumn, setEndLine, setNodeURI, setStartColumn, setStartLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentNode, getDocumentPath, getEndColumn, getEndLine, getNodeName, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLinepublic IFillNode fill
public IStrokeNode stroke
public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
GraphicContentNodeGraphic content nodes support child property nodes <filter>, <mask>, <matrix>, or <colorTransform>.
addChild in interface IFXGNodeaddChild in class GraphicContentNodechild - - a child FXG node to be added to this node.problems - problem collection used to collect problems occurred within this methodpublic List<IFXGNode> getChildren()
IFXGNodegetChildren in interface IFXGNodegetChildren in class GraphicContentNodepublic Rect getBounds(List<ShapeRecord> records, LineStyle ls)
Copyright © 2016 The Apache Software Foundation. All rights reserved.