New to Telerik UI for WinFormsStart a free 30-day trial

Represents a structure that defines the starting and sweeping angles of an ellipse Arc.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
[TypeConverter(typeof(StringToAngleRangeConverter))]
public struct AngleRange

Inherited Members ValueType.ToString()

Constructors

Initializes a new instance of the AngleRange struct.

C#
public AngleRange(double startAngle, double sweepAngle)
Parameters:startAngledouble

The start angle.

sweepAngledouble

The sweep angle.

Fields

The default structure value with its starting angle set to 0 and its sweep angle set to 360.

C#
public static readonly AngleRange Default

Properties

Gets or sets start angle from which the arc starts.

C#
public double StartAngle { get; set; }

Gets or sets the angle that defines the length of the Arc.

C#
public double SweepAngle { get; set; }

Methods

Determines whether the specified object is equal to this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this instance.

Returns:

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides: ValueType.Equals(object)

Returns a hash code for this instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides: ValueType.GetHashCode()

Operators

Implements the operator !=.

C#
public static bool operator !=(AngleRange r1, AngleRange r2)
Parameters:r1AngleRange

The first range.

r2AngleRange

The second range.

Returns:

bool

The result of the operator.

Implements the operator ==.

C#
public static bool operator ==(AngleRange r1, AngleRange r2)
Parameters:r1AngleRange

The first range.

r2AngleRange

The second range.

Returns:

bool

The result of the operator.