Struct
AngleRange

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

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.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.

AngleRange(double, double, SweepDirection)

Initializes a new instance of the AngleRange struct.

Declaration

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

Parameters

startAngle

double

The start angle.

sweepAngle

double

The sweep angle.

sweepDirection

SweepDirection

The sweep direction.

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

SweepDirection

Gets or sets the sweep direction.

Declaration

cs-api-definition
public SweepDirection SweepDirection { get; set; }

Property Value

SweepDirection

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)

Determines whether two angle ranges are not equal.

Declaration

cs-api-definition
public static bool operator !=(AngleRange range1, AngleRange range2)

Parameters

range1

AngleRange

The first range.

range2

AngleRange

The second range.

Returns

bool

true if the operands are not equal; otherwise, false.

operator ==(AngleRange, AngleRange)

Determines whether two angle ranges are equal.

Declaration

cs-api-definition
public static bool operator ==(AngleRange range1, AngleRange range2)

Parameters

range1

AngleRange

The first range.

range2

AngleRange

The second range.

Returns

bool

true if the operands are equal; otherwise, false.