Shape

Inheritance: java.lang.Object

public abstract class Shape

Represents shape - the base graphics object.

Constructors

ConstructorDescription
Shape()

Methods

MethodDescription
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:

ParameterTypeDescription
valueGraphInfothat 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:

ParameterTypeDescription
valueTextFragmentTextFragment object