public abstract class AbstractStrokeNode extends AbstractFXGNode implements IStrokeNode
| Modifier and Type | Field and Description |
|---|---|
Caps |
caps |
protected String |
id |
Joints |
joints |
double |
miterLimit |
protected static double |
MITERLIMIT_MAX_INCLUSIVE |
protected static double |
MITERLIMIT_MIN_INCLUSIVE |
boolean |
pixelHinting |
ScaleMode |
scaleMode |
protected static double |
WEIGHT_MAX_INCLUSIVE |
protected static double |
WEIGHT_MIN_INCLUSIVE |
protected double |
weight_v_1 |
protected double |
weight_v_1_later |
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 |
|---|
AbstractStrokeNode() |
| Modifier and Type | Method and Description |
|---|---|
protected Caps |
getCaps(String value,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a Caps enumeration.
|
String |
getId()
An id attribute provides a well defined name to a content node.
|
protected Joints |
getJoints(String value,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a Joints enumeration.
|
protected ScaleMode |
getScaleMode(String value,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a ScaleMode enumeration.
|
double |
getScaleX()
Get scaleX.
|
double |
getScaleY()
Get scaleY.
|
double |
getWeight()
Stroke weight.
|
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this stroke node.
|
void |
setId(String value)
Sets the node id.
|
addChild, getChildren, getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getFileVersion, getNodeURI, getStartColumn, getStartLine, isVersionGreaterThanCompiler, setDocumentNode, setEndColumn, setEndLine, setNodeURI, setStartColumn, setStartLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, getChildren, getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getNodeName, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLineprotected static final double MITERLIMIT_MIN_INCLUSIVE
protected static final double MITERLIMIT_MAX_INCLUSIVE
protected static final double WEIGHT_MIN_INCLUSIVE
protected static final double WEIGHT_MAX_INCLUSIVE
protected String id
public ScaleMode scaleMode
public Caps caps
public boolean pixelHinting
public Joints joints
public double miterLimit
protected double weight_v_1
protected double weight_v_1_later
public String getId()
getId in interface IStrokeNodepublic void setId(String value)
setId in interface IStrokeNodevalue - - the node id as a String.public double getWeight()
public double getScaleX()
public double getScaleY()
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
setAttribute in interface IFXGNodesetAttribute in class AbstractFXGNodename - - the unqualified attribute name.value - - the attribute value.problems - problem collection used to collect problems occurred within this methodprotected Caps getCaps(String value, Collection<ICompilerProblem> problems)
value - - the FXG String value.protected Joints getJoints(String value, Collection<ICompilerProblem> problems)
value - - the FXG String value.protected ScaleMode getScaleMode(String value, Collection<ICompilerProblem> problems)
value - - the FXG String value.Copyright © 2016 The Apache Software Foundation. All rights reserved.