Summary
Defines a point.
Syntax
public readonly struct Point : ValueType, IEquatable<Point>
Constructors
Name | Summary |
---|---|
Point |
Initializes a new instance of the Point structure.
|
Properties
Methods
Name | Value | Summary |
---|---|---|
Deconstruct |
void |
Deconstructs the point into its X and Y coordinates.
|
Equals |
bool |
Checks for equality between a point and an object.
|
Equals |
bool |
Returns a boolean indicating whether the point is equal to the other given point.
|
GetHashCode |
int |
Returns a hash code for a
Point .
|
Parse |
Point |
Parses a
Point string.
static
|
ToString |
string |
Returns the string representation of the point.
|
Transform |
Point |
Transforms the point by a matrix.
|
WithX |
Point |
Returns a new point with the specified X coordinate.
|
WithY |
Point |
Returns a new point with the specified Y coordinate.
|
Operators
Name | Value | Summary |
---|---|---|
implicit operator |
Vector | |
operator != |
bool | |
operator - |
Point | |
operator - |
Point | |
operator - |
Point | |
operator * |
Point | |
operator * |
Point | |
operator * |
Point | |
operator / |
Point | |
operator + |
Point | |
operator + |
Point | |
operator == |
bool |