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

AVL.CreateRectangle(AvlNet.Point2D, AvlNet.Anchor2D, float, float, float, AvlNet.Rectangle2D)

Creates a rectangle from an aligned point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateRectangle(
	AvlNet.Point2D inPoint,
	AvlNet.Anchor2D inPointAnchor,
	float inAngle,
	float inWidth,
	float inHeight,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

inPoint
Type: AvlNet.Point2D
inPointAnchor
Type: AvlNet.Anchor2D
Alignment of the input point relatively to the box of the position
inAngle
Type: System.Single
Clock-wise orientation angle
inWidth
Type: System.Single
Width of the created rectangle
inHeight
Type: System.Single
Height of the created rectangle
outRectangle
Type: AvlNet.Rectangle2D

See also