You are here: Start » FIL.NET » FIL.DrawCircle
Draws a circle on an image.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void DrawCircle ( FilNet.Image ioImage, FilNet.Circle2D inCircle, FilNet.CoordinateSystem2D? inCircleAlignment, FilNet.Pixel inColor, FilNet.DrawingStyle inDrawingStyle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioImage | FilNet.Image | ||||
![]() | inCircle | FilNet.Circle2D | |||
![]() | inCircleAlignment | FilNet.CoordinateSystem2D? | |||
![]() | inColor | FilNet.Pixel | |||
![]() | inDrawingStyle | FilNet.DrawingStyle |
Description
The operation draws a single of circle on the ioImage. Circle may exceed the image dimensions - those will be drawn partially or not at all, but the filter execution will succeed.
Examples
Following example draws a red circles that bounds regions, which area is lower than 2000 pixels. It is a part of the bigger Blob Analysis Example.
foreach (Region mount in mounts) { int area; FIL.RegionArea(mount, out area); if (area < 2000) { Circle2D circle; FIL.RegionBoundingCircle(mount, out circle); FIL.DrawCircle(mountsImage, circle, red, style); } }