ClassRadGradientStop
Class
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
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.