ShapeCollection
Overview
ShapeCollection is a class in Aspose.Pdf FOSS for Java.
Inherits from: ArrayList<Shape>.
A collection of {@link Shape} objects with optional bounds checking.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
boundsCheckMode | BoundsCheckMode | Read | Gets the current bounds check mode. |
containerWidth | double | Read | Gets the container width used for bounds checking. |
containerHeight | double | Read | Gets the container height used for bounds checking. |
Methods
| Signature | Description |
|---|---|
ShapeCollection(width: double, height: double) | Creates a new shape collection with the specified container dimensions. |
getBoundsCheckMode() → BoundsCheckMode | Gets the current bounds check mode. |
updateBoundsCheckMode(mode: BoundsCheckMode) | Updates the bounds check mode for this collection. |
getContainerWidth() → double | Gets the container width used for bounds checking. |
getContainerHeight() → double | Gets the container height used for bounds checking. |
add(shape: Shape) → boolean | Adds a shape to this collection. |