ShapeFrame
Overview
ShapeFrame is a class in Aspose.Slides FOSS for C++.
Represents the geometric frame of a shape.
This class provides 18 methods for working with ShapeFrame objects in C++ programs.
Available methods include: NullableBool, ShapeFrame, center_x, center_y, clone, clone_t, equals, flip_h, flip_v, height, rectangle, rotation, and 3 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: NullableBool, ShapeFrame.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
NullableBool | NullableBool | Read | Gets the nullable bool. |
ShapeFrame | ShapeFrame | Read | Gets the shape frame. |
Methods
| Signature | Description |
|---|---|
NullableBool() → NullableBool | Property holds a NullableBool indicating a boolean state of the shape frame |
NullableBool() → NullableBool | |
ShapeFrame() → ShapeFrame | Constructs a shape frame with the given properties. |
ShapeFrame(x: double, y: double, width: double, height: double, flip_h: NullableBool, flip_v: NullableBool, rotation: double) | Constructs a shape frame with the given properties. |
ShapeFrame() | Constructs a shape frame with the given properties. |
x() → double | Returns the X coordinate of the upper-left corner. |
y() → double | Returns the Y coordinate of the upper-left corner. |
width() → double | Returns the width. |
height() → double | Returns the height. |
rotation() → double | Returns the rotation angle in degrees. |
center_x() → double | Returns the X coordinate of the frame’s center. |
center_y() → double | Returns the Y coordinate of the frame’s center. |
flip_h() → NullableBool | Returns horizontal flip state. |
flip_v() → NullableBool | Returns vertical flip state. |
rectangle() → Drawing::RectangleF | Returns the coordinates of this frame as a rectangle. |
clone_t() → std::unique_ptr<IShapeFrame> | Returns a deep copy of this shape frame. |
clone() → ShapeFrame | Returns a copy of this frame (value-semantic clone). |
equals(other: ShapeFrame) → bool | Compares with another ShapeFrame for equality. |