RectangleFOffset Method (RectangleF, Single, Single) |
Offsets the location of the rectangle by the specified x and y values
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static RectangleF Offset(
RectangleF rectangle,
float x,
float y
)
Public Shared Function Offset (
rectangle As RectangleF,
x As Single,
y As Single
) As RectangleF
static member Offset :
rectangle : RectangleF *
x : float32 *
y : float32 -> RectangleF
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to offset - x
- Type: SystemSingle
Horizontal offset to move the rectangle - y
- Type: SystemSingle
Vertical offset to move the rectangle
Return Value
Type:
RectangleFA new Rectangle with the offset location
See Also