GradientFormat

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

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’s shape enumeration
GradientDirection()GradientDirectionReturns the direction of the gradient
NullableBool()NullableBoolReturns a nullable boolean indicating a specific flag
TileFlip()TileFlipGets or sets the tile flip mode of the gradient
GradientStopCollection()GradientStopCollectionProvides 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()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)
linear_gradient_scaled()NullableBoolReturns whether the linear gradient is scaled. Read/write.
set_linear_gradient_scaled(value: NullableBool)
tile_flip()TileFlipReturns the tile flip mode. Read/write.
set_tile_flip(value: TileFlip)
gradient_stops()GradientStopCollectionReturns the collection of gradient stops. Read-only.
gradient_stops()GradientStopCollectionReturns the collection of gradient stops. Read-only.

See Also