ShapeFrame class

ShapeFrame class

Represents shape frame’s properties.

The ShapeFrame type exposes the following members:

Constructors

ConstructorDescription
__init__Creates new shape frame’s properties.

Properties

PropertyDescription
xReturns the X coordinate of the upper-left corner of a frame.
Read-only float.
yReturns the Y coordinate of the upper-left corner of a frame.
Read-only float.
widthReturns the width of a frame.
Read-only float.
heightReturns the height of a frame.
Read-only float.
rotationReturns the number of degrees a frame is rotated around the z-axis.
A positive value indicates clockwise rotation; a negative value
indicates counterclockwise rotation.
Read-only float.
center_xReturns the X coordinate of a frame’s center.
Read-only float.
center_yReturns the Y coordinate of a frame’s center.
Read-only float.
flip_hDetermines whether a frame is flipped horizontally.
Read-only NullableBool.
flip_vDetermines whether a frame is flipped vertically.
Read-only NullableBool.
rectangleReturns the coordinates of a frame.
Read-only aspose.pydrawing.RectangleF.

Methods

MethodDescription
cloneClones
clone_tClones.
equalsReturns a value indicating whether this instance is equal to a specified object.

See Also