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

AVS.CreateCoordinateSystemFromRectangle Method

Creates a coordinate system from a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateCoordinateSystemFromRectangle
(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.Anchor2D inPointAnchor,
	float inRelativeAngle,
	float inScale,
	float inScaleDivisor,
	out AvlNet.CoordinateSystem2D outCoordinateSystem
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inPointAnchorAvlNet.Anchor2DTopLeftDefault value: TopLeft.
inRelativeAnglefloat
inScalefloat<0.001f, INF>1.0fDefault value: 1.0f.
inScaleDivisorfloat<0.001f, INF>1.0fDefault value: 1.0f.
outCoordinateSystemAvlNet.CoordinateSystem2D

See also