You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Basics » AVL.CreateRing

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
inPointAvlNet.Point2D
inPointAnchorAvlNet.Anchor2DMiddleCenterAlignment of the point relatively to the box of the ring outer circle. Default value: MiddleCenter.
inInnerRadiusfloat<0.0f, INF>Inner ring radius.
inOuterRadiusfloat<0.0f, INF>Outer ring radius.
outRingAvlNet.Ring2D

See also