public class LineNode extends AbstractShapeNode
| Modifier and Type | Field and Description |
|---|---|
double |
xFrom |
double |
xTo |
double |
yFrom |
double |
yTo |
fill, strokealpha, 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 |
|---|
LineNode() |
| Modifier and Type | Method and Description |
|---|---|
Rect |
getBounds(List<ShapeRecord> records,
LineStyle ls)
Returns the bounds of the line
|
String |
getNodeName() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this FXG node.
|
addChild, getChildrenconvertTransformAttrToMatrix, createGraphicContext, getId, getLuminosityClip, getLuminosityInvert, getMask, getMaskType, parseBlendMode, 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, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLinepublic double xFrom
public double yFrom
public double xTo
public double yTo
public String getNodeName()
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
GraphicContentNodeGraphic content nodes support the following attributes:
Graphic content nodes also support an id attribute.
setAttribute in interface IFXGNodesetAttribute in class GraphicContentNodename - - the unqualified attribute namevalue - - the attribute valueproblems - problem collection used to collect problems occurred within this methodpublic Rect getBounds(List<ShapeRecord> records, LineStyle ls)
getBounds in class AbstractShapeNodeCopyright © 2016 The Apache Software Foundation. All rights reserved.