Click or drag to resize

RectangleDivision Operator (Rectangle, Size)

Divides the specified rectangle by the Width and Height of size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Rectangle operator /(
	Rectangle rectangle,
	Size size
)

Parameters

rectangle
Type: Eto.DrawingRectangle
Rectangle to divide
size
Type: Eto.DrawingSize
Width and Height to divide the rectangle by

Return Value

Type: Rectangle
A new instance of a Rectangle with the value of rectangle divided by size
Remarks
The X and Width components will be divided by the Width of the specified size, and the Y and Height components will be divided by the Height.
See Also