ShapeFrame

Overview

ShapeFrame is a class in Aspose.Slides FOSS for Python. Inherits from: IShapeFrame.

Represents shape frame’s properties.

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