You are here: Start » AVL.NET » AVL.ResizeRectangle_Relative(AvlNet.Rectangle2D, AvlNet.Anchor2D, float, float, AvlNet.Rectangle2D)

AVL.ResizeRectangle_Relative(AvlNet.Rectangle2D, AvlNet.Anchor2D, float, float, AvlNet.Rectangle2D)

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

inRectangle
Type: AvlNet.Rectangle2D
inAnchor
Type: AvlNet.Anchor2D
inWidthScale
Type: System.Single
inHeightScale
Type: System.Single
outRectangle
Type: AvlNet.Rectangle2D

Examples

ResizeRectangle_Relative performed on the sample rectangle, inWidthScale = 2.0 and inHeightScale = 0.5.

See also