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

AVS.ResizeRectangle_Relative Method

Changes dimensions of a rectangle relatively.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ResizeRectangle_Relative
(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.Anchor2D inAnchor,
	float inWidthScale,
	float inHeightScale,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inAnchorAvlNet.Anchor2DTopLeftDefault value: TopLeft.
inWidthScalefloat<0.0f, INF>1.0fDefault value: 1.0f.
inHeightScalefloat<0.0f, INF>1.0fDefault value: 1.0f.
outRectangleAvlNet.Rectangle2D

See also