Class
RadGradientStop

Represents a gradient stop that defines a color and position within a gradient.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadGradientStop

Inheritance: objectRadGradientStop

Constructors

RadGradientStop()

Initializes a new instance of the RadGradientStop class.

Declaration

cs-api-definition
public RadGradientStop()

RadGradientStop(Color, double)

Initializes a new instance of the RadGradientStop class with the specified color and offset.

Declaration

cs-api-definition
public RadGradientStop(Color color, double offset)

Parameters

color

Color

The color of the gradient stop.

offset

double

The offset position of the gradient stop (0.0 to 1.0).

Properties

Color

Gets or sets the color of the gradient stop.

Declaration

cs-api-definition
public Color Color { get; set; }

Property Value

Color

The color value.

Offset

Gets or sets the offset position of the gradient stop.

Declaration

cs-api-definition
public double Offset { get; set; }

Property Value

double

The offset value between 0.0 and 1.0.