ShapeFrame
Overview
ShapeFrame is a class in Aspose.Slides FOSS for Python.
Inherits from: IShapeFrame.
Represents shape frame’s properties.
This class provides 4 methods for working with ShapeFrame objects in Python programs.
Available methods include: __init__, clone, clone_t, equals.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: center_x, center_y, flip_h, flip_v, height, rectangle, and 4 more.
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 |