public class LinearGradientStrokeNode extends AbstractStrokeNode 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 |
caps, id, joints, miterLimit, MITERLIMIT_MAX_INCLUSIVE, MITERLIMIT_MIN_INCLUSIVE, pixelHinting, scaleMode, WEIGHT_MAX_INCLUSIVE, WEIGHT_MIN_INCLUSIVE, weight_v_1, weight_v_1_laterALPHA_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 |
|---|
LinearGradientStrokeNode() |
| 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()
Get scaleX.
|
double |
getScaleY()
Get scaleY.
|
double |
getX() |
double |
getY() |
boolean |
isLinear() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this stroke node.
|
getCaps, getId, getJoints, getScaleMode, getWeight, 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()
AbstractStrokeNodegetScaleX in interface IScalableGradientNodegetScaleX in class AbstractStrokeNodepublic double getScaleY()
AbstractStrokeNodegetScaleY in interface IScalableGradientNodegetScaleY in class AbstractStrokeNodepublic 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)
AbstractStrokeNodesetAttribute in interface IFXGNodesetAttribute in class AbstractStrokeNodename - - the unqualified attribute name.value - - the attribute value.problems - problem collection used to collect problems occurred within this methodCopyright © 2016 The Apache Software Foundation. All rights reserved.