ShapeFrame
Overview
ShapeFrame is a class in Aspose.Slides FOSS for Python.
Inherits from: IShapeFrame.
Represents shape frame’s properties.
Properties
| 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. |
Methods
| 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 |