Click or drag to resize

RectangleFDivision Operator (RectangleF, SizeF)

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 RectangleF operator /(
	RectangleF rectangle,
	SizeF size
)

Parameters

rectangle
Type: Eto.DrawingRectangleF
Rectangle to divide
size
Type: Eto.DrawingSizeF
Width and Height to divide the rectangle by

Return Value

Type: RectangleF
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