You are here: Start » AVL.NET » AVL.CreateCircleRegion(AvlNet.Circle2D, AvlNet.CoordinateSystem2D?, int, int, AvlNet.Region, AvlNet.Circle2D)

AVL.CreateCircleRegion(AvlNet.Circle2D, AvlNet.CoordinateSystem2D?, int, int, AvlNet.Region, AvlNet.Circle2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateCircleRegion(
	AvlNet.Circle2D inCircle,
	AvlNet.CoordinateSystem2D? inCircleAlignment,
	int inFrameWidth,
	int inFrameHeight,
	out AvlNet.Region outRegion,
	out AvlNet.Circle2D outAlignedCircle
)

Parameters

inCircle
Type: AvlNet.Circle2D
inCircleAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
inFrameWidth
Type: System.Int32
inFrameHeight
Type: System.Int32
outRegion
Type: AvlNet.Region
outAlignedCircle
Type: AvlNet.Circle2D

Description

The operation creates a region containing pixels lying inside the given circle.

The inFrameWidth and inFrameHeight parameters most often should be set equal to the dimensions of the image this region will be used with. If the input circle exceeds these dimensions, the output region will be cropped.

Examples

CreateCircleRegion run with inCircle = Circle2D(150,150,100).

See also