Click or drag to resize

PointAddition Operator (Point, Int32)

Operator to add a value to both the X and Y co-ordinates of a point

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Point operator +(
	Point point,
	int value
)

Parameters

point
Type: Eto.DrawingPoint
Base point value
value
Type: SystemInt32
Value to add to both the X and Y co-ordinates of the point

Return Value

Type: Point
A new instance of a point with the sum of the point's X and Y co-ordinates and the specified value
See Also