RectangleRestrict Method (Point, Size) |
Restricts the rectangle to be within the specified location and size
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void Restrict(
Point location,
Size size
)
Public Sub Restrict (
location As Point,
size As Size
)
member Restrict :
location : Point *
size : Size -> unit
Parameters
- location
- Type: Eto.DrawingPoint
Minimum location for the rectangle - size
- Type: Eto.DrawingSize
Maximum size for the rectangle
Remarks
This is a shortcut for
See Also