Struct
PointL

Represents a point in cartesian coordinates represented with Int64 values.

Definition

Namespace:Telerik.WinControls.UI.Map

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public struct PointL : IEquatable<PointL>

Implements: IEquatable<PointL>

Inherited Members ValueType.ToString()

Constructors

PointL(long, long)

Initializes a new instance of the PointL struct.

Declaration

cs-api-definition
public PointL(long x, long y)

Parameters

x

long

The x.

y

long

The y.

Fields

Empty

Declaration

cs-api-definition
public static readonly PointL Empty

Field Value

PointL

Properties

X

Gets or sets the x coordinate.

Declaration

cs-api-definition
public long X { get; set; }

Property Value

long

The x coordinate.

Y

Gets or sets the y coordinate.

Declaration

cs-api-definition
public long Y { get; set; }

Property Value

long

The y coordinate.

Methods

Equals(PointL)

Declaration

cs-api-definition
public bool Equals(PointL other)

Parameters

other

PointL

Returns

bool

Implements IEquatable<PointL>.Equals(PointL)

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

Offset(long, long)

Offsets this point with the specified delta.

Declaration

cs-api-definition
public void Offset(long deltaX, long deltaY)

Parameters

deltaX

long

The delta x.

deltaY

long

The delta y.

Operators

implicit operator PointF(PointL)

Declaration

cs-api-definition
public static implicit operator PointF(PointL point)

Parameters

point

PointL

Returns

PointF

implicit operator PointL(PointF)

Declaration

cs-api-definition
public static implicit operator PointL(PointF rect)

Parameters

rect

PointF

Returns

PointL