You are here: Start » AVL.NET » Invoke.CreateRing
Creates a ring from an aligned point, inner and outer radius, and angle range.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CreateRing ( Avl.Point2D inPoint, Avl.Anchor2D inPointAnchor, float inInnerRadius, float inOuterRadius, out Avl.Ring2D outRing )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | Avl.Point2D | |||
![]() | inPointAnchor | Avl.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 | Avl.Ring2D |