Shape
Contents
[
Hide
]Inheritance: java.lang.Object
public abstract class Shape
Represents shape - the base graphics object.
Constructors
Constructor | Description |
---|---|
Shape() |
Methods
Method | Description |
---|---|
getGraphInfo() | Gets object that indicates the graph info,such as color, line width,etc. |
setGraphInfo(GraphInfo value) | Sets object that indicates the graph info,such as color, line width,etc. |
getText() | Gets or sets a text for shape |
setText(TextFragment value) | Gets or sets a text for shape |
Shape()
public Shape()
getGraphInfo()
public GraphInfo getGraphInfo()
Gets object that indicates the graph info,such as color, line width,etc.
Returns: GraphInfo - object that indicates the graph info.
setGraphInfo(GraphInfo value)
public void setGraphInfo(GraphInfo value)
Sets object that indicates the graph info,such as color, line width,etc.
Parameters:
Parameter | Type | Description |
---|---|---|
value | GraphInfo | that indicates the graph info. |
getText()
public TextFragment getText()
Gets or sets a text for shape
Returns: TextFragment - TextFragment object
setText(TextFragment value)
public void setText(TextFragment value)
Gets or sets a text for shape
Parameters:
Parameter | Type | Description |
---|---|---|
value | TextFragment | TextFragment object |