RectangleFOffset Method (RectangleF, PointF) |
Offsets the location of the rectangle by the X and Y values of the specified point
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static RectangleF Offset(
RectangleF rectangle,
PointF point
)
Public Shared Function Offset (
rectangle As RectangleF,
point As PointF
) As RectangleF
static member Offset :
rectangle : RectangleF *
point : PointF -> RectangleF
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to offset - point
- Type: Eto.DrawingPointF
Point with values to offset the rectangle
Return Value
Type:
RectangleFA new Rectangle with the offset location
See Also