Path
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape com.aspose.pdf.drawing.Path, com.aspose.pdf.drawing.Shape, com.aspose.pdf.drawing.Path
All Implemented Interfaces: IBoundsCheckableItem
public final class Path extends Shape
Represents arc.
Constructors
| Constructor | Description |
|---|---|
| Path | Initializes a new instance of the {@code Path} class. |
| Path | Initializes a new instance of the {@code Path} class. |
Methods
| Method | Description |
|---|---|
| checkBounds | Checks if the item fits within the given container dimensions (inclusive). |
| getShapes | Gets or sets shapes collection. |
| getShapesInternal | Gets or sets shapes collection. |
Path
public Path()
Initializes a new instance of the {@code Path} class.
Path
Initializes a new instance of the {@code Path} class.
checkBounds
public boolean checkBounds(double containerWidth, double containerHeight)
Checks if the item fits within the given container dimensions (inclusive).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| containerWidth | ||
| containerHeight |
Returns: True if fits; otherwise, false.
getShapes
public List < Shape > getShapes()
Gets or sets shapes collection.
Returns:
{@code java.util.List
getShapesInternal
public com.aspose.ms.System.Collections.Generic.List< Shape > getShapesInternal()
Gets or sets shapes collection.
Returns: internal object