RectangleF.Offset Method (Single, Single)

 

Adjusts the location of this rectangle by the specified amount.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public void Offset(
	float x,
	float y
)

Parameters

x
Type: System.Single

The amount to offset the location horizontally.

y
Type: System.Single

The amount to offset the location vertically.

.NET Framework
Available since 1.1
Return to top
Show: