Click or drag to resize

RectangleFRestrict Method (PointF, SizeF)

Restricts the rectangle to be within the specified point and size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Restrict(
	PointF point,
	SizeF size
)

Parameters

point
Type: Eto.DrawingPointF
Minimum location for the rectangle
size
Type: Eto.DrawingSizeF
Maximum size for the rectangle
Remarks
This is a shortcut for
See Also