Skip to content

ScreenPointD

Namespace: ThinkGeo.Core

This structure represents a single point in screen coordinates.

public struct ScreenPointD

Inheritance objectValueTypeScreenPointD

Remarks:

None

Properties

X

This property returns the X, or horizontal, value of the screen point.

public double X { get; }

Property Value

double
This property returns the X, or horizontal, value of the screen point.

Y

This property returns the Y, or vertical, value of the screen point.

public double Y { get; }

Property Value

double
This property returns the Y, or vertical, value of the screen point.

Remarks:

None

Constructors

ScreenPointD(double, double)

This constructor allows you to create a screen point by passing in an X & Y.

ScreenPointD(double x, double y)

Parameters

x double
This parameter represents the horizontal value of a screen point.

y double
This parameter represents the vertical value of a screen point.

Remarks:

None

Methods

ToString()

Returns a string that represents the current instance.

string ToString()

Returns

string
A string result.

Equals(object)

This method is an override of the Equals functionality.

bool Equals(object obj)

Parameters

obj object
This parameter is the object you want to check to see if it is equal to the current instance.

Returns

bool
This method returns the Equals functionality.

Exceptions

ArgumentNullException
If you pass a null as the obj, we will throw an ArgumentNullException.

Remarks:

None

GetHashCode()

This method is an override of the GetHashCode functionality.

int GetHashCode()

Returns

int
This method returns the hash code.

Remarks:

None