Struct
RadPoint

Represents a structure that defines a location (X, Y) in a two-dimensional space.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public struct RadPoint

Inherited Members ValueType.ToString()

Constructors

RadPoint(double, double)

Initializes a new instance of the RadPoint struct.

Declaration

cs-api-definition
public RadPoint(double x, double y)

Parameters

x

double

The x.

y

double

The y.

Fields

Empty

A RadPoint instance which X and Y values are set to 0.

Declaration

cs-api-definition
public static readonly RadPoint Empty

Field Value

RadPoint

X

The X-coordinate of the point.

Declaration

cs-api-definition
public double X

Field Value

double

Y

The Y-coordinate of the point.

Declaration

cs-api-definition
public double Y

Field Value

double

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()

Round(RadPoint)

Rounds the X and Y members of the specified RadPoint.

Declaration

cs-api-definition
public static RadPoint Round(RadPoint point)

Parameters

point

RadPoint

Returns

RadPoint

Operators

operator !=(RadPoint, RadPoint)

Determines whether two RadSize structures are not equal.

Declaration

cs-api-definition
public static bool operator !=(RadPoint point1, RadPoint point2)

Parameters

point1

RadPoint

point2

RadPoint

Returns

bool

operator ==(RadPoint, RadPoint)

Determines whether two RadPoint structures are equal.

Declaration

cs-api-definition
public static bool operator ==(RadPoint point1, RadPoint point2)

Parameters

point1

RadPoint

point2

RadPoint

Returns

bool