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

AVS.ResizeRectangle_Delta Method

Changes dimensions of a rectangle by adding some values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ResizeRectangle_Delta
(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.Anchor2D inAnchor,
	float inWidthDelta,
	float inHeightDelta,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inAnchorAvlNet.Anchor2DTopLeftDefault value: TopLeft.
inWidthDeltafloat0.0fValue added to width of the rectangle. Default value: 0.0f.
inHeightDeltafloat0.0fValue added to height of the rectangle. Default value: 0.0f.
outRectangleAvlNet.Rectangle2D

See also