Skip to main content

GradientStop(Single, Color) Constructor

Initializes a new GradientStop class instance with the specified settings.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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