Click or drag to resize

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
)

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