public final class Curve extends Shape
Represents bezier curve.
Constructor and Description |
---|
Curve()
For Internal usage only
|
Curve(float[] positionArray)
Initializes a new instance of the
Curve 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 a float position array.
|
void |
setPositionArray(float[] value)
Sets a float position array.
|
getGraphInfo, getText, setGraphInfo, setText
public Curve()
For Internal usage only
public Curve(float[] positionArray)
Initializes a new instance of the Curve
class.
positionArray
- The position array of the control points of the curve.There should be four control points,so
the length of the array should be eight.public float[] getPositionArray()
Gets a float position array.
public void setPositionArray(float[] value)
Sets a float position array.
value
- float[] arraypublic 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.