ScreenPointD¶
Namespace: ThinkGeo.Core
This structure represents a single point in screen coordinates.
public struct ScreenPointD
Inheritance Object → ValueType → ScreenPointD
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()¶
string ToString()
Returns¶
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¶
Boolean
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¶
Int32
This method returns the hash code.
Remarks:
None