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
)
Public Shared Function Offset (
point As PointF,
x As Single,
y As Single
) As PointF
static member Offset :
point : PointF *
x : float32 *
y : float32 -> PointF
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:
PointFA new point with the offset X and Y values
See Also