public final class ShapeNode extends Object
| Constructor and Description |
|---|
ShapeNode(Fill fill,
NodeLabel nodeLabel,
BorderStyle borderStyle,
Shape shape)
Create a new shape node from the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
BorderStyle |
getBorderStyle()
Return the border style for this shape node.
|
Fill |
getFill()
Return the fill for this shape node.
|
NodeLabel |
getNodeLabel()
Return the node label for this shape node.
|
Shape |
getShape()
Return the shape for this shape node.
|
public ShapeNode(Fill fill, NodeLabel nodeLabel, BorderStyle borderStyle, Shape shape)
fill - fill for this shape node, must not be nullnodeLabel - node label for this shape node, must not be nullborderStyle - border style for this shape node, must not be nullshape - shape for this shape node, must not be nullpublic Fill getFill()
public NodeLabel getNodeLabel()
public BorderStyle getBorderStyle()
public Shape getShape()
Copyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).