Enum OdGradientStyle
Namespace: Aspose.Imaging.FileFormats.OpenDocument.Enums
Assembly: Aspose.Imaging.dll (25.7.0)
The gradient style
public enum OdGradientStyle
{
msoGradientForwardDiagonalLeft,
msoGradientForwardDiagonalRight,
msoGradientBackwardDiagonalLeft,
msoGradientBackwardDiagonalRight,
msoGradientHorizontalCenter,
msoGradientVerticalCenter,
msoGradientCircular,
msoGradientDiagonalDown,
msoGradientDiagonalUp,
msoGradientLeft,
msoGradientRight,
msoGradientForeground,
msoGradientBackground
}
Fields
Axial = 0
The axialdefines a bi-linear gradient that is also known as reflected gradient or mirrored linear gradient.It is created as a linear gradient that is mirrored (or reflected) along its axis.
Ellipsoid = 1
The ellipsoiddefines a gradient where the colors are blend along the radius from the center of anellipsoid as defined with the draw:cx and draw:cy attributes.The length of the semi major-axis is the width of the filled area and the length of the semi-minor
Linear = 2
The lineardefines a gradient where the colors blend along the linear axis of the gradient.The axis of the gradient is specified with the draw:angle attribute clockwise to the vertical axis.
None = 6
The gradient style is none
Radial = 3
The radialdefines a gradient where the colors are blend along the radius from the centerof a circle as defined with the draw:cx and draw:cy attributes.The outside of the circle is filled with the end color.
Rectangle = 4
The rectangledefines a gradient that produces a rectangular blend from the center of the rectangle to the shortestof the 4 borders. The center of the rectangle is defined with the attributes draw:cx and draw:cy.The width of the rectangle is the width of the filled area,the height of the rectangle is the height of the filled area.The outside of the square is filled with the end color.
Square = 5
The squaredefines a gradient that produces a square blend, imitating the visual perspective in a corridor or theaerial view of a pyramid.Also known as “box gradient” and “pyramidal gradient”.The center of the square is defined with the draw:cx and draw:cy attributes.The width and height of the square is the minimum value of either the width or the height of the filled area.The outside of the square is filled with the end color.