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

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.

Methods

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

See Also