Skip to main content
.NET Framework 4.5.2+

GradientStop(Single, Color) Constructor

Initializes a new GradientStop class instance with the specified settings.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v21.2.Core.dll

Declaration

public GradientStop(
    float position,
    Color color
)

Parameters

Name Type Description
position Single

The location of a gradient stop on the gradient line: 0 for the start point; 1 for the end point.

color Color

A gradient stop color.

See Also