Struct AngleRange
Represents a structure that defines the starting and sweeping angles of an ellipse Arc.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public struct AngleRange
Constructors
AngleRange(Double, Double)
Initializes a new instance of the AngleRange struct.
Declaration
public AngleRange(double startAngle, double sweepAngle)
Parameters
System.Double
startAngle
The start angle. |
System.Double
sweepAngle
The sweep angle. |
AngleRange(Double, Double, SweepDirection)
Initializes a new instance of the AngleRange struct.
Declaration
public AngleRange(double startAngle, double sweepAngle, SweepDirection sweepDirection)
Parameters
System.Double
startAngle
The start angle. |
System.Double
sweepAngle
The sweep angle. |
System.Windows.Media.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
public static readonly AngleRange Default
Field Value
AngleRange
|
Properties
StartAngle
Gets or sets start angle from which the arc starts.
Declaration
public double StartAngle { get; set; }
Property Value
System.Double
|
SweepAngle
Gets or sets the angle that defines the length of the Arc.
Declaration
public double SweepAngle { get; set; }
Property Value
System.Double
|
SweepDirection
Gets or sets the sweep direction.
Declaration
public SweepDirection SweepDirection { get; set; }
Property Value
System.Windows.Media.SweepDirection
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
Operators
Equality(AngleRange, AngleRange)
Determines whether two angle ranges are equal.
Declaration
public static bool operator ==(AngleRange range1, AngleRange range2)
Parameters
AngleRange
range1
The first range. |
AngleRange
range2
The second range. |
Returns
System.Boolean
|
Inequality(AngleRange, AngleRange)
Determines whether two angle ranges are not equal.
Declaration
public static bool operator !=(AngleRange range1, AngleRange range2)
Parameters
AngleRange
range1
The first range. |
AngleRange
range2
The second range. |
Returns
System.Boolean
|