Struct
AngleRange

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

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(StringToAngleRangeConverter))]
public struct AngleRange

Inherited Members ValueType.ToString()

Constructors

AngleRange(double, double)

Initializes a new instance of the AngleRange struct.

Declaration

cs-api-definition
public AngleRange(double startAngle, double sweepAngle)

Parameters

startAngle

double

The start angle.

sweepAngle

double

The sweep angle.

Fields

Default

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

Declaration

cs-api-definition
public static readonly AngleRange Default

Field Value

AngleRange

Properties

StartAngle

Gets or sets start angle from which the arc starts.

Declaration

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

Property Value

double

SweepAngle

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

Declaration

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

Property Value

double

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
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

operator !=(AngleRange, AngleRange)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(AngleRange r1, AngleRange r2)

Parameters

r1

AngleRange

The first range.

r2

AngleRange

The second range.

Returns

bool

The result of the operator.

operator ==(AngleRange, AngleRange)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(AngleRange r1, AngleRange r2)

Parameters

r1

AngleRange

The first range.

r2

AngleRange

The second range.

Returns

bool

The result of the operator.