Skip to main content

ShapeGradientType Enum

Lists values used to specify the gradient types for the gradient fill.

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public enum ShapeGradientType

Members

Name Description
Linear

Specifies a linear gradient that blends two or more colors along a line.

Rectangle

Specifies a rectangular gradient that blends two or more colors along a rectangle.

Circle

Specifies a radial gradient that blends two or more colors along a circle.

Shape

Specifies a path gradient that blends two or more colors along a shape to which the gradient fill is applied.

Related API Members

The following properties accept/return ShapeGradientType values:

Remarks

To apply the gradient fill to a chart element, call the ShapeOutlineFill.SetGradientFill method with the ShapeGradientType enumeration value passed as a parameter. To obtain type of the applied gradient fill, use the ShapeGradientFill.GradientType property.

See Also