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, setTextpublic 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)
IBoundsCheckableItemChecks if the item fits within the given container dimensions (inclusive).
checkBounds in interface IBoundsCheckableItemcheckBounds in class ShapecontainerWidth - Width of the container.containerHeight - Height of the container.Copyright © 2025 Aspose. All Rights Reserved.