GradientFormat

GradientFormat

Overview

GradientFormat is a class in Aspose.Slides FOSS for C++.

Represents gradient fill formatting.

This class declares 22 methods for 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. Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Accessor methods: GradientDirection, GradientShape, GradientStopCollection, NullableBool, TileFlip.

Accessor Methods

NameTypeAccessDescription
GradientShapeGradientShapeReadGets the gradient shape.
GradientDirectionGradientDirectionReadGets the gradient direction.
NullableBoolNullableBoolReadGets the nullable bool.
TileFlipTileFlipReadGets the tile flip.
GradientStopCollectionGradientStopCollectionReadGets the gradient stop collection.

Methods

SignatureDescription
GradientShape() → GradientShapeReturns the gradient shape type. Read/write.
GradientDirection() → GradientDirectionReturns the gradient direction. Read/write.
NullableBool() → NullableBoolReturns whether the linear gradient is scaled. Read/write.
TileFlip() → TileFlipReturns the tile flip mode. Read/write.
GradientStopCollection() → GradientStopCollectionReturns the collection of gradient stops. Read-only.
GradientStopCollection() → GradientStopCollectionProvides access to the gradient’s stop collection
GradientFormat()Calls GradientFormat on this GradientFormat instance.
~GradientFormat()Calls ~GradientFormat on this GradientFormat instance.
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() → GradientShapeReturns 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() → GradientDirectionReturns the gradient direction. Read/write.
set_gradient_direction(value: GradientDirection)Sets the gradient direction. Setting NOT_DEFINED is a no-op.
linear_gradient_angle() → floatReturns the angle of the linear gradient in degrees. Read/write.
set_linear_gradient_angle(value: float)Calls set_linear_gradient_angle(value) on this GradientFormat instance.
linear_gradient_scaled() → NullableBoolReturns whether the linear gradient is scaled. Read/write.
set_linear_gradient_scaled(value: NullableBool)Calls set_linear_gradient_scaled(value) on this GradientFormat instance.
tile_flip() → TileFlipReturns the tile flip mode. Read/write.
set_tile_flip(value: TileFlip)Calls set_tile_flip(value) on this GradientFormat instance.
gradient_stops() → GradientStopCollectionReturns the collection of gradient stops. Read-only.
gradient_stops() → GradientStopCollectionCalls gradient_stops on this GradientFormat instance.

See Also

 English