public class GroupNode extends GraphicContentNode implements IMaskingNode
Modifier and Type | Field and Description |
---|---|
List<GraphicContentNode> |
children |
double |
scaleGridBottom |
double |
scaleGridLeft |
double |
scaleGridRight |
double |
scaleGridTop |
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 |
---|
GroupNode() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this Group node.
|
GraphicContext |
createGraphicContext() |
boolean |
definesScaleGrid() |
List<IFXGNode> |
getChildren()
debug method, do not use
|
int |
getMaskIndex() |
String |
getNodeName() |
boolean |
isInsideScaleGrid() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this Group node.
|
void |
setInsideScaleGrid(boolean value) |
void |
setMaskIndex(int index)
Records the index of this mask in the parent DisplayObject's list of
children.
|
convertTransformAttrToMatrix, 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 double scaleGridLeft
public double scaleGridRight
public double scaleGridTop
public double scaleGridBottom
public List<GraphicContentNode> children
public List<IFXGNode> getChildren()
IFXGNode
getChildren
in interface IFXGNode
getChildren
in class GraphicContentNode
public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
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 String getNodeName()
getNodeName
in interface IFXGNode
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
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 GraphicContext createGraphicContext()
createGraphicContext
in interface IMaskingNode
createGraphicContext
in class GraphicContentNode
public boolean definesScaleGrid()
public boolean isInsideScaleGrid()
public void setInsideScaleGrid(boolean value)
public int getMaskIndex()
getMaskIndex
in interface IMaskingNode
public void setMaskIndex(int index)
setMaskIndex
in interface IMaskingNode
index
- - the child index to the maskCopyright © 2016 The Apache Software Foundation. All rights reserved.