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

NameTypeAccessDescription
xfloatReadReturns the X coordinate of the upper-left corner of a frame.
yfloatReadReturns the Y coordinate of the upper-left corner of a frame.
widthfloatReadReturns the width of a frame.
heightfloatReadReturns the height of a frame.
rotationfloatReadReturns the number of degrees a frame is rotated around the z-axis.
center_xfloatReadReturns the X coordinate of a frame’s center.
center_yfloatReadReturns the Y coordinate of a frame’s center.
flip_hNullableBoolReadDetermines whether a frame is flipped horizontally.
flip_vNullableBoolReadDetermines whether a frame is flipped vertically.
rectangleAnyReadReturns the coordinates of a frame.

méthodes

SignatureDescription
__init__(x, y, width, height, flip_h, flip_v, rotation_angle)
clone()objectCreates a shallow copy of the ShapeFrame object
clone_t()IShapeFrameReturns a cloned instance typed as IShapeFrame
equals(value)boolReturns True if the given object equals this ShapeFrame

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français