Click or drag to resize

RectangleMultiply Operator (Rectangle, Size)

Multiplies 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 multiply
size
Type: Eto.DrawingSize
Width and Height to multiply the rectangle by

Return Value

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