public class RectNode extends AbstractShapeNode
Modifier and Type | Field and Description |
---|---|
double |
bottomLeftRadiusX |
double |
bottomLeftRadiusY |
double |
bottomRightRadiusX |
double |
bottomRightRadiusY |
double |
height |
double |
radiusX |
double |
radiusY |
double |
topLeftRadiusX |
double |
topLeftRadiusY |
double |
topRightRadiusX |
double |
topRightRadiusY |
double |
width |
fill, stroke
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 |
---|
RectNode() |
Modifier and Type | Method and Description |
---|---|
Rect |
getBounds(List<ShapeRecord> records,
LineStyle ls)
Returns the bounds of the rect
|
String |
getNodeName() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this FXG node.
|
addChild, getChildren
convertTransformAttrToMatrix, createGraphicContext, 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 width
public double height
public double radiusX
public double radiusY
public double topLeftRadiusX
public double topLeftRadiusY
public double topRightRadiusY
public double topRightRadiusX
public double bottomRightRadiusX
public double bottomRightRadiusY
public double bottomLeftRadiusX
public double bottomLeftRadiusY
public String getNodeName()
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
GraphicContentNode
Graphic content nodes support the following attributes:
Graphic content nodes also support an id attribute.
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 Rect getBounds(List<ShapeRecord> records, LineStyle ls)
getBounds
in class AbstractShapeNode
Copyright © 2016 The Apache Software Foundation. All rights reserved.