OdLineTo

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.OdObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject

public class OdLineTo extends OdGraphicObject

The enhanced lineTo

Constructors

ConstructorDescription
OdLineTo(OdObject parent)Initializes a new instance of the OdLineTo class.

Methods

MethodDescription
getCoordinates()Gets or sets the coordinates.
setCoordinates(PointF value)Gets or sets the coordinates.
getVertical()Gets or sets a value indicating whether this OdLineTo is vertical.
setVertical(boolean value)Gets or sets a value indicating whether this OdLineTo is vertical.
getHorizontal()Gets or sets a value indicating whether this OdLineTo is vertical.
setHorizontal(boolean value)Gets or sets a value indicating whether this OdLineTo is vertical.

OdLineTo(OdObject parent)

public OdLineTo(OdObject parent)

Initializes a new instance of the OdLineTo class.

Parameters:

ParameterTypeDescription
parentOdObjectThe parent.

getCoordinates()

public PointF getCoordinates()

Gets or sets the coordinates.

Returns: PointF - The coordinates.

setCoordinates(PointF value)

public void setCoordinates(PointF value)

Gets or sets the coordinates.

Parameters:

ParameterTypeDescription
valuePointFThe coordinates.

getVertical()

public boolean getVertical()

Gets or sets a value indicating whether this OdLineTo is vertical.

Returns: boolean - true if vertical; otherwise, false.

setVertical(boolean value)

public void setVertical(boolean value)

Gets or sets a value indicating whether this OdLineTo is vertical.

Parameters:

ParameterTypeDescription
valuebooleantrue if vertical; otherwise, false.

getHorizontal()

public boolean getHorizontal()

Gets or sets a value indicating whether this OdLineTo is vertical.

Returns: boolean - true if vertical; otherwise, false.

setHorizontal(boolean value)

public void setHorizontal(boolean value)

Gets or sets a value indicating whether this OdLineTo is vertical.

Parameters:

ParameterTypeDescription
valuebooleantrue if vertical; otherwise, false.