public class LinearGradientFillNode extends AbstractFillNode implements IScalableGradientNode
| Modifier and Type | Field and Description |
|---|---|
List<GradientEntryNode> |
entries |
InterpolationMethod |
interpolationMethod |
MatrixNode |
matrix |
double |
rotation |
double |
scaleX |
SpreadMethod |
spreadMethod |
double |
x |
double |
y |
idALPHA_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 |
|---|
LinearGradientFillNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this node.
|
List<IFXGNode> |
getChildren()
debug method, do not use
|
MatrixNode |
getMatrixNode() |
String |
getNodeName() |
double |
getRotation() |
double |
getScaleX() |
double |
getScaleY() |
double |
getX() |
double |
getY() |
boolean |
isLinear() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this FXG node.
|
getId, setIdgetDocumentNode, 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, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLinepublic double x
public double y
public double scaleX
public double rotation
public SpreadMethod spreadMethod
public InterpolationMethod interpolationMethod
public MatrixNode matrix
public List<GradientEntryNode> entries
public List<IFXGNode> getChildren()
IFXGNodegetChildren in interface IFXGNodegetChildren in class AbstractFXGNodepublic double getX()
getX in interface IScalableGradientNodepublic double getY()
getY in interface IScalableGradientNodepublic double getScaleX()
getScaleX in interface IScalableGradientNodepublic double getScaleY()
getScaleY in interface IScalableGradientNodepublic double getRotation()
getRotation in interface IScalableGradientNodepublic MatrixNode getMatrixNode()
getMatrixNode in interface IScalableGradientNodepublic boolean isLinear()
isLinear in interface IScalableGradientNodepublic void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
AbstractFXGNodeaddChild in interface IFXGNodeaddChild in class AbstractFXGNodechild - - 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 IFXGNodepublic void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
AbstractFXGNodesetAttribute in interface IFXGNodesetAttribute in class AbstractFillNodename - - the unqualified attribute namevalue - - the attribute valueproblems - problem collection used to collect problems occurred within this methodCopyright © 2016 The Apache Software Foundation. All rights reserved.