New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a sweep gradient stop with a specific color and angle.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadSweepGradientStop

Inheritance: objectRadSweepGradientStop

Constructors

Initializes a new instance of the RadSweepGradientStop class.

C#
public RadSweepGradientStop()

Initializes a new instance of the RadSweepGradientStop class with the specified color and angle.

C#
public RadSweepGradientStop(Color color, double angle)
Parameters:colorColor

The color of the gradient stop.

angledouble

The angle of the gradient stop.

Properties

Gets the angle of the gradient stop.

C#
public double Angle { get; }

Color

Color

Gets the color of the gradient stop.

C#
public Color Color { get; }