Click or drag to resize

Point Operators and Type Conversions

The Point type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition(Point, Point)
Operator to return the addition of two points as a Point
Public operatorStatic memberAddition(Point, Size)
Operator to add a size to a point
Public operatorStatic memberAddition(Point, Int32)
Operator to add a value to both the X and Y co-ordinates of a point
Public operatorStatic memberDivision(Point, Size)
Divides the specified point with a size
Public operatorStatic memberDivision(Point, Int32)
Divides the X and Y co-ordinates of the specified point with a given value
Public operatorStatic memberEquality
Determines equality between two points
Public operatorStatic member(PointF to Point)
Explicit conversion from a PointF to a Point by truncating values
Public operatorStatic member(Size to Point)
Explicit conversion from a size to a Point with a X and Y of the Width and Height values of the size, respectively
Public operatorStatic memberInequality
Determines the inequality between two points
Public operatorStatic memberMultiply(Int32, Point)
Multiplies the X and Y co-ordinates of the specified point with a given factor
Public operatorStatic memberMultiply(Point, Point)
Multiplies the X and Y co-ordinates of the two specified point values
Public operatorStatic memberMultiply(Point, Size)
Multiplies the specified point with a size
Public operatorStatic memberMultiply(Point, Int32)
Multiplies the X and Y co-ordinates of the specified point with a given factor
Public operatorStatic memberMultiply(Point, Single)
Multiplies the X and Y of a point by the specified floating point factor
Public operatorStatic memberSubtraction(Point, Point)
Operator to return the difference between two points as a Size
Public operatorStatic memberSubtraction(Point, Size)
Operator to subtract a size from a point
Public operatorStatic memberSubtraction(Point, Int32)
Operator to subtract a value from both the X and Y co-ordinates of a point
Public operatorStatic memberUnaryNegation
Returns a new Point with negative x and y values of the specified point
Top
See Also