Struct Point
Represents a point in screen-space coordinates.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: WinMan.dll
Syntax
public struct Point : IEquatable<Point>
Constructors
|
Improve this Doc
View Source
Point(Int32, Int32)
Declaration
public Point(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Fields
|
Improve this Doc
View Source
X
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Y
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
Equals(Point)
Declaration
public bool Equals(Point other)
Parameters
Type |
Name |
Description |
Point |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
|
Improve this Doc
View Source
Equality(Point, Point)
Declaration
public static bool operator ==(Point left, Point right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(Point, Point)
Declaration
public static bool operator !=(Point left, Point right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>