Skip to main content
A newer version of this page is available. .
.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.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

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