RectangleFOffset Method (RectangleF, SizeF) |
Offsets the location of the rectangle by the specified size
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static RectangleF Offset(
RectangleF rectangle,
SizeF size
)
Public Shared Function Offset (
rectangle As RectangleF,
size As SizeF
) As RectangleF
static member Offset :
rectangle : RectangleF *
size : SizeF -> RectangleF
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to inflate - size
- Type: Eto.DrawingSizeF
Width and Height to move the rectangle
Return Value
Type:
RectangleFA new Rectangle with the offset location
See Also