OdLineTo
Contents
[
Hide
]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
Constructor | Description |
---|---|
OdLineTo(OdObject parent) | Initializes a new instance of the OdLineTo class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
parent | OdObject | The 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:
Parameter | Type | Description |
---|---|---|
value | PointF | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean | true 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:
Parameter | Type | Description |
---|---|---|
value | boolean | true if vertical; otherwise, false . |