ShapeFrame
Vue de l’ensemble
‘ShapeFrame’ est une classe dans Aspose.Slides FOSS pour Python.Déduit de: ‘IShapeframe’.
Il représente les propriétés du cadre de forme.
Cette classe fournit 4 méthodes pour travailler avec les objets ShapeFrame dans les programmes Python. Les méthodologies disponibles comprennent: __init__, clone , ‘clon_tet 'équals'. Tous les membres publics sont accessibles à n'importe quelle application Pythone après l'installation de l’Aspose.Slides FOSS pour le package PyThone. Propriétés :center_x;centre_y; flip_h : flip-v: hauteur, rectangle, et 4 autres.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
x | float | Read | Returns the X coordinate of the upper-left corner of a frame. |
y | float | Read | Returns the Y coordinate of the upper-left corner of a frame. |
width | float | Read | Returns the width of a frame. |
height | float | Read | Returns the height of a frame. |
rotation | float | Read | Returns the number of degrees a frame is rotated around the z-axis. |
center_x | float | Read | Returns the X coordinate of a frame’s center. |
center_y | float | Read | Returns the Y coordinate of a frame’s center. |
flip_h | NullableBool | Read | Determines whether a frame is flipped horizontally. |
flip_v | NullableBool | Read | Determines whether a frame is flipped vertically. |
rectangle | Any | Read | Returns the coordinates of a frame. |
méthodes
| Signature | Description |
|---|---|
__init__(x, y, width, height, flip_h, flip_v, rotation_angle) | |
clone() → object | Creates a shallow copy of the ShapeFrame object |
clone_t() → IShapeFrame | Returns a cloned instance typed as IShapeFrame |
equals(value) → bool | Returns True if the given object equals this ShapeFrame |
Voir aussi
- Aspose.Slides - référence API d’entreprise