Struct
AngleRange

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

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
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, ChartSweepDirection)

Initializes a new instance of the AngleRange struct.

Declaration

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

Parameters

startAngle

double

The start angle.

sweepAngle

double

The sweep angle.

sweepDirection

ChartSweepDirection

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 ChartSweepDirection SweepDirection { get; set; }

Property Value

ChartSweepDirection

The sweep direction.

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 range1, AngleRange range2)

Parameters

range1

AngleRange

The first range.

range2

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 range1, AngleRange range2)

Parameters

range1

AngleRange

The first range.

range2

AngleRange

The second range.

Returns

bool

The result of the operator.