Click or drag to resize

PointFOffset Method (PointF, Single, Single)

Offsets the X and Y co-ordinates of the point by the specified x and y values

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static PointF Offset(
	PointF point,
	float x,
	float y
)

Parameters

point
Type: Eto.DrawingPointF
Point to offset
x
Type: SystemSingle
Value to add to the X co-ordinate of this point
y
Type: SystemSingle
Value to add to the Y co-ordinate of this point

Return Value

Type: PointF
A new point with the offset X and Y values
See Also