Class GradientPosition
Represents the circle positions for defining the radial gradient in a linear gauge component.
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class GradientPosition : OwningComponentBase
Remarks
The GradientPosition class is used to specify the X and Y coordinates of a radial gradient's center point within the linear gauge. This is crucial for accurately rendering the radial gradient in the correct position.
Constructors
GradientPosition()
Declaration
public GradientPosition()
Properties
X
Gets or sets the horizontal position in percentage.
Declaration
public string X { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the X-coordinate of the gradient's starting point. The default value is "0%". |
Remarks
This value determines the horizontal positioning of the center point of the radial gradient within its bounding element.
Y
Gets or sets the vertical position in percentage.
Declaration
public string Y { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Y-coordinate of the gradient's starting point. The default value is "0%". |
Remarks
This value determines the vertical positioning of the center point of the radial gradient within its bounding element.
Methods
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |