Struct
RadCircle

Represents a logical definition of a circle.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public struct RadCircle

Inherited Members ValueType.ToString()

Constructors

RadCircle(RadPoint, double)

Initializes a new instance of the RadCircle struct.

Declaration

cs-api-definition
public RadCircle(RadPoint center, double radius)

Parameters

center

RadPoint

The center.

radius

double

The radius.

Fields

Center

The center of the circle.

Declaration

cs-api-definition
public RadPoint Center

Field Value

RadPoint

Radius

The radius of the circle.

Declaration

cs-api-definition
public double Radius

Field Value

double

Properties

Bounds

Gets the rectangle that encloses this circle.

Declaration

cs-api-definition
public RadRect Bounds { get; }

Property Value

RadRect

Methods

Equals(RadCircle)

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

Declaration

cs-api-definition
public bool Equals(RadCircle obj)

Parameters

obj

RadCircle

The object to compare with the current object.

Returns

bool

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

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides ValueType.GetHashCode()

Operators

operator !=(RadCircle, RadCircle)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(RadCircle circle1, RadCircle circle2)

Parameters

circle1

RadCircle

The first RadCircle struct.

circle2

RadCircle

The second RadCircle struct.

Returns

bool

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

operator ==(RadCircle, RadCircle)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(RadCircle circle1, RadCircle circle2)

Parameters

circle1

RadCircle

The first RadCircle struct.

circle2

RadCircle

The second RadCircle struct.

Returns

bool

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