Class RadCircle
Represents a logical definition of a circle.
Inheritance
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public sealed class RadCircle : ValueType
Constructors
RadCircle(RadPoint, Double)
Initializes a new instance of the RadCircle struct.
Declaration
public RadCircle(RadPoint center, double radius)
Parameters
RadPoint
center
The center. |
System.Double
radius
The radius. |
Fields
Center
Radius
The radius of the circle.
Declaration
public double Radius
Field Value
System.Double
|
Properties
Bounds
Gets the rectangle that encloses this circle.
Declaration
public RadRect Bounds { get; }
Property Value
RadRect
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current object. |
Returns
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Equals(RadCircle)
Declaration
public bool Equals(RadCircle obj)
Parameters
RadCircle
obj
The object to compare with the current object. |
Returns
System.Boolean
True if the specified RadCircle is equal to the current RadCircle; otherwise, false. |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |
Operators
Equality(RadCircle, RadCircle)
Implements the operator ==.
Declaration
public static bool operator ==(RadCircle circle1, RadCircle circle2)
Parameters
RadCircle
circle1
The first RadCircle struct. |
RadCircle
circle2
The second RadCircle struct. |
Returns
System.Boolean
|
Inequality(RadCircle, RadCircle)
Implements the operator !=.
Declaration
public static bool operator !=(RadCircle circle1, RadCircle circle2)
Parameters
RadCircle
circle1
The first RadCircle struct. |
RadCircle
circle2
The second RadCircle struct. |
Returns
System.Boolean
|