Struct RadPoint
Represents a structure that defines a location (X, Y) in a two-dimensional space.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.dll
Syntax
public struct RadPoint
Constructors
RadPoint(Double, Double)
Initializes a new instance of the RadPoint struct.
Declaration
public RadPoint(double x, double y)
Parameters
System.Double
x
The x. |
System.Double
y
The y. |
Fields
Empty
A RadPoint instance which X and Y values are set to 0.
Declaration
public static readonly RadPoint Empty
Field Value
RadPoint
|
X
The X-coordinate of the point.
Declaration
public double X
Field Value
System.Double
|
Y
The Y-coordinate of the point.
Declaration
public double Y
Field Value
System.Double
|
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
Round(RadPoint)
Rounds the X and Y members of the specified RadPoint.
Declaration
public static RadPoint Round(RadPoint point)
Parameters
RadPoint
point
|
Returns
RadPoint
|
Operators
Equality(RadPoint, RadPoint)
Determines whether two RadPoint structures are equal.
Declaration
public static bool operator ==(RadPoint pt1, RadPoint pt2)
Parameters
RadPoint
pt1
|
RadPoint
pt2
|
Returns
System.Boolean
|
Inequality(RadPoint, RadPoint)
Determines whether two RadSize structures are not equal.
Declaration
public static bool operator !=(RadPoint pt1, RadPoint pt2)
Parameters
RadPoint
pt1
|
RadPoint
pt2
|
Returns
System.Boolean
|