public final class Line extends Shape
Represents line.
Constructor and Description |
---|
Line()
For Internal usage only
|
Line(float[] positionArray)
Initializes a new instance of the
Line class. |
Modifier and Type | Method and Description |
---|---|
boolean |
checkBounds(double containerWidth,
double containerHeight)
Checks if the item fits within the given container dimensions (inclusive).
|
float[] |
getPositionArray()
Gets object that indicates the position array.The array is composed by coordinates of each
control point of the line.
|
void |
setPositionArray(float[] value)
Sets object that indicates the position array.The array is composed by coordinates of each
control point of the line.
|
getGraphInfo, getText, setGraphInfo, setText
public Line()
For Internal usage only
public Line(float[] positionArray)
Initializes a new instance of the Line
class.
positionArray
- The line position array.public float[] getPositionArray()
Gets object that indicates the position array.The array is composed by coordinates of each control point of the line. directly.
public void setPositionArray(float[] value)
Sets object that indicates the position array.The array is composed by coordinates of each control point of the line. directly.
value
- that indicates the position array.public boolean checkBounds(double containerWidth, double containerHeight)
IBoundsCheckableItem
Checks if the item fits within the given container dimensions (inclusive).
checkBounds
in interface IBoundsCheckableItem
checkBounds
in class Shape
containerWidth
- Width of the container.containerHeight
- Height of the container.Copyright © 2025 Aspose. All Rights Reserved.