You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Basics » AVL.CreateRing
Creates a ring from an aligned point, inner and outer radius, and angle range.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateRing ( AvlNet.Point2D inPoint, AvlNet.Anchor2D inPointAnchor, float inInnerRadius, float inOuterRadius, out AvlNet.Ring2D outRing )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inPointAnchor | AvlNet.Anchor2D | MiddleCenter | Alignment of the point relatively to the box of the ring outer circle. Default value: MiddleCenter. | ||
inInnerRadius | float | <0.0f, INF> | Inner ring radius. | ||
inOuterRadius | float | <0.0f, INF> | Outer ring radius. | ||
outRing | AvlNet.Ring2D |