New to Telerik UI for WPFStart a free 30-day trial

RadCircle

Struct

Represents a logical definition of a circle.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public struct RadCircle

Inherited Members ValueType.ToString()

Constructors

Initializes a new instance of the RadCircle struct.

C#
public RadCircle(RadPoint center, double radius)
Parameters:centerRadPoint

The center.

radiusdouble

The radius.

Fields

The center of the circle.

C#
public RadPoint Center

The radius of the circle.

C#
public double Radius

Properties

Gets the rectangle that encloses this circle.

C#
public RadRect Bounds { get; }

Methods

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides: ValueType.Equals(object)

Determines whether the specified RadCircle is equal to the current RadCircle.

C#
public bool Equals(RadCircle obj)
Parameters:objRadCircle

The object to compare with the current object.

Returns:

bool

True if the specified RadCircle is equal to the current RadCircle; otherwise, false.

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: ValueType.GetHashCode()

Operators

Implements the operator !=.

C#
public static bool operator !=(RadCircle circle1, RadCircle circle2)
Parameters:circle1RadCircle

The first RadCircle struct.

circle2RadCircle

The second RadCircle struct.

Returns:

bool

true if the values of the operands are not equal, otherwise false.

Implements the operator ==.

C#
public static bool operator ==(RadCircle circle1, RadCircle circle2)
Parameters:circle1RadCircle

The first RadCircle struct.

circle2RadCircle

The second RadCircle struct.

Returns:

bool

true if the values of the operands are equal, otherwise false.