GradientFormat
Overview
GradientFormat is a class in Aspose.Slides FOSS for C++.
Represents gradient fill formatting.
This class provides 22 methods for working with GradientFormat objects in C++ programs.
Available methods include: GradientDirection, GradientFormat, GradientShape, GradientStopCollection, NullableBool, TileFlip, gradient_direction, gradient_shape, gradient_stops, init_internal, linear_gradient_angle, linear_gradient_scaled, and 8 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: GradientDirection, GradientShape, GradientStopCollection, NullableBool, TileFlip.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
GradientShape | GradientShape | Read | Gets the gradient shape. |
GradientDirection | GradientDirection | Read | Gets the gradient direction. |
NullableBool | NullableBool | Read | Gets the nullable bool. |
TileFlip | TileFlip | Read | Gets the tile flip. |
GradientStopCollection | GradientStopCollection | Read | Gets the gradient stop collection. |
Methods
| Signature | Description |
|---|---|
GradientShape() → GradientShape | Returns the gradient’s shape enumeration |
GradientDirection() → GradientDirection | Returns the direction of the gradient |
NullableBool() → NullableBool | Returns a nullable boolean indicating a specific flag |
TileFlip() → TileFlip | Gets or sets the tile flip mode of the gradient |
GradientStopCollection() → GradientStopCollection | Provides access to the gradient’s stop collection |
GradientStopCollection() → GradientStopCollection | |
GradientFormat() | |
~GradientFormat() | |
init_internal(grad_fill_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize XML-backed gradient format. |
save() | Save changes via the save callback. |
gradient_shape() → GradientShape | Returns the gradient shape type. Read/write. |
set_gradient_shape(value: GradientShape) | Sets the gradient shape type. Setting NOT_DEFINED is a no-op. |
gradient_direction() → GradientDirection | Returns the gradient direction. Read/write. |
set_gradient_direction(value: GradientDirection) | Sets the gradient direction. Setting NOT_DEFINED is a no-op. |
linear_gradient_angle() → float | Returns the angle of the linear gradient in degrees. Read/write. |
set_linear_gradient_angle(value: float) | |
linear_gradient_scaled() → NullableBool | Returns whether the linear gradient is scaled. Read/write. |
set_linear_gradient_scaled(value: NullableBool) | |
tile_flip() → TileFlip | Returns the tile flip mode. Read/write. |
set_tile_flip(value: TileFlip) | |
gradient_stops() → GradientStopCollection | Returns the collection of gradient stops. Read-only. |
gradient_stops() → GradientStopCollection | Returns the collection of gradient stops. Read-only. |