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

Invoke.CreateCoordinateSystemFromRectangle

Creates a coordinate system from a rectangle.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateCoordinateSystemFromRectangle
(
	Avl.Rectangle2D inRectangle,
	Avl.Anchor2D inPointAnchor,
	float inRelativeAngle,
	float inScale,
	float inScaleDivisor,
	out Avl.CoordinateSystem2D outCoordinateSystem
)

Parameters

Name Type Range Default Description
inRectangleAvl.Rectangle2D
inPointAnchorAvl.Anchor2DTopLeftDefault value: TopLeft.
inRelativeAnglefloat
inScalefloat<0.001f, INF>1.0fDefault value: 1.0f.
inScaleDivisorfloat<0.001f, INF>1.0fDefault value: 1.0f.
outCoordinateSystemAvl.CoordinateSystem2D

See also