You are here: Start » AVL.NET » Invoke.ResizeRectangle_Delta

Invoke.ResizeRectangle_Delta

Changes dimensions of a rectangle by adding some values.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ResizeRectangle_Delta
(
	Avl.Rectangle2D inRectangle,
	Avl.Anchor2D inAnchor,
	float inWidthDelta,
	float inHeightDelta,
	out Avl.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvl.Rectangle2D
inAnchorAvl.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.
outRectangleAvl.Rectangle2D

See also