ODF .NET Class Library
Show/Hide TOC

# GradientStyle Enumeration

Represents a rendering for a gradient.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public enum GradientStyle

VB

    Public Enumeration GradientStyle

## Members

Linear | 0 | Defines a gradient where the colors blend along a linear vector perpendicular to the axis of the gradient.
Axial | 1 | Defines 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.
Radial | 2 | Defines a gradient where the colors are blend along the radius from the center of a circle. The outside of the circle is filled with the end color.
Ellipsoid | 3 | Defines a gradient where the colors are blend along the radius from the center of an ellipsoid. The length of the semi major axis is the width of the filled area and the length of the semi minor axis is the height of the filled area. The area outside the ellipse is filled with the end color.
Square | 4 | Defines a gradient that produces a square blend, imitating the visual perspective in a corridor or the aerial view of a pyramid. Also known as "box gradient" and "pyramidal gradient".
Rectangular | 5 | Defines a gradient that produces a rectangular blend from the center of the rectangle to the shortest of 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.
None | 6 | None.

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace