Click or drag to resize

SizeMultiply Operator (Size, Int32)

Multiplies the Width and Height of a size by the specified factor

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Size operator *(
	Size size,
	int factor
)

Parameters

size
Type: Eto.DrawingSize
Size to multiply
factor
Type: SystemInt32
Factor to multiply both the Width and Height by

Return Value

Type: Size
A new instance of a Size struct with the product of the size and factor
See Also