Point Operators and Type Conversions

The Point type exposes the following members.

  Name Description
Public operator Static member Addition Translates the specified Point by the specified Vector and returns the result.
Public operator Static member Equality Compares two Point structures for equality.
Public operator Static member Explicit(Point to Vector) Creates a Vector structure with an X value equal to the point's X value and a Y value equal to the point's Y value.
Public operator Static member Explicit(Point to Size) Creates a Size structure with a Width equal to this point's X value and a Height equal to this point's Y value.
Public operator Static member Inequality Compares two Point structures for inequality.
Public operator Static member Multiply Transforms the specified Point by the specified Matrix.
Public operator Static member Subtraction(Point, Point) Subtracts the specified Point from another specified Point and returns the difference as a Vector.
Public operator Static member Subtraction(Point, Vector) Subtracts the specified Vector from the specified Point and returns the resulting Point.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft