Click or drag to resize

RectangleRestrict Method (Size)

Restricts the rectangle to be within the specified size at an X,Y location of 0, 0

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Restrict(
	Size size
)

Parameters

size
Type: Eto.DrawingSize
Maxiumum size for the rectangle
Remarks
This is a shortcut for
See Also