ShapeCollection
Vue de l’ensemble
‘ShapeCollection’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: ArrayList<Shapes>.
Une collection d’objets {@link Shape} avec un contrôle de limites facultatif.
Cette classe fournit 6 méthodes pour travailler avec les objets ShapeCollection dans les programmes Java. Les méthodologies disponibles comprennent: ‘Shape Collection’, ‘add’ , ‘getBoundsCheckMode’, getContainerHeight', ‘getContainersWidth’, 'updateBoundSchockMod'. Tous les membres publics sont accessibles à n'importe quelle application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : 'boundsChockMoode, ‘containerHigh’, ‘‘containerWitth’’.
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise