You are here: Start » AVL.NET » AVS.ResizeRectangle Method

AVS.ResizeRectangle Method

Changes dimensions of a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ResizeRectangle
(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.Anchor2D inAnchor,
	float? inNewWidth,
	float? inNewHeight,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inAnchorAvlNet.Anchor2DTopLeftDefault value: TopLeft.
inNewWidthfloat?<0.0f, INF>
inNewHeightfloat?<0.0f, INF>
outRectangleAvlNet.Rectangle2D

See also