You are here: Start » AVL.NET » AVL.RescaleRectangle(AvlNet.Rectangle2D, float, bool, AvlNet.Rectangle2D)

AVL.RescaleRectangle(AvlNet.Rectangle2D, float, bool, AvlNet.Rectangle2D)

Changes the corners and the dimensions of a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RescaleRectangle(
	AvlNet.Rectangle2D inRectangle,
	float inScale,
	bool inInverse,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

inRectangle
Type: AvlNet.Rectangle2D
inScale
Type: System.Single
Scaling factor
inInverse
Type: System.Boolean
Switches to the inverse operation
outRectangle
Type: AvlNet.Rectangle2D

Remarks

See full override for more details.

See also