Rectangle
Vue d’ensemble
Rectangle est une classe dans le FOSS Aspose.PDF pour Python.
Représente un rectangle avec position et taille.
Cette classe fournit 1 méthode pour travailler avec les objets Rectangle dans les programmes Python. Les méthodes disponibles incluent : __init__. Tous les membres publics sont accessibles à toute application Python après l’installation du package Aspose.PDF FOSS pour Python. Propriétés : bottom, height, left, right, width, x et 1 de plus.
Propriétés
| Nom | Type | Accès | Description |
|---|---|---|---|
x | float | Lecture | Obtenir la coordonnée X du coin inférieur gauche. |
y | float | Lecture | Obtenir la coordonnée Y du coin inférieur gauche. |
width | float | Lecture | Obtenir la largeur. |
height | float | Lecture | Obtenir la hauteur. |
left | float | Lecture | Obtenir le bord gauche. |
bottom | float | Lecture | Obtenir le bord inférieur. |
right | float | Lecture | Obtient le bord droit. |
Méthodes
| Signature | Description |
|---|---|
__init__(x: float, y: float, width: float, height: float) | Initialiser un rectangle. |