You are here: Start » AVL.NET » AVL.CreateArc
Creates an arc from an aligned point, radius, and angle range.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateArc ( AvlNet.Point2D inPoint, AvlNet.Anchor2D inPointAnchor, float inRadius, float inStartAngle, float inSweepAngle, out AvlNet.Arc2D outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inPointAnchor | AvlNet.Anchor2D | MiddleCenter | Alignment of the point relatively to the box of the circle. Default value: MiddleCenter. | ||
inRadius | float | <0.0f, INF> | Circle radius. | ||
inStartAngle | float | Direction at which the arc begins. | |||
inSweepAngle | float | Length of the arc (may be negative). | |||
outArc | AvlNet.Arc2D |