RectangleOffset Method (Rectangle, Point) |
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 Rectangle Offset(
Rectangle rectangle,
Point point
)
Public Shared Function Offset (
rectangle As Rectangle,
point As Point
) As Rectangle
static member Offset :
rectangle : Rectangle *
point : Point -> Rectangle
Parameters
- rectangle
- Type: Eto.DrawingRectangle
Rectangle to offset - point
- Type: Eto.DrawingPoint
Point with values to offset the rectangle
Return Value
Type:
RectangleA new Rectangle with the offset location
See Also