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

Invoke.CreateRectangle

Creates a rectangle from an aligned point.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateRectangle
(
	Avl.Point2D inPoint,
	Avl.Anchor2D inPointAnchor,
	float inAngle,
	float inWidth,
	float inHeight,
	out Avl.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inPointAvl.Point2D
inPointAnchorAvl.Anchor2DTopLeftAlignment of the input point relatively to the box of the position. Default value: TopLeft.
inAnglefloatClock-wise orientation angle.
inWidthfloat<0.0f, INF>Width of the created rectangle.
inHeightfloat<0.0f, INF>Height of the created rectangle.
outRectangleAvl.Rectangle2D

See also