Back to FabImage Library website
You are here: Start » Function Reference » Image Drawing » DrawCircle
Header: | FIL.h |
---|---|
Namespace: | fil |
Draws a circle on an image.
Syntax
C++
C#
void fil::DrawCircle ( fil::Image& ioImage, const fil::Circle2D& inCircle, ftl::Optional<const fil::CoordinateSystem2D&> inCircleAlignment, const fil::Pixel& inColor, const fil::DrawingStyle& inDrawingStyle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
![]() |
inCircle | const Circle2D& | ||
![]() |
inCircleAlignment | Optional<const CoordinateSystem2D&> | NIL | |
![]() |
inColor | const Pixel& | ||
![]() |
inDrawingStyle | const 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.
See Also
- DrawPoints_Palette – Draws points on an image with multiple colors.
- DrawPoints_SingleColor – Draws points on an image with a single color.
- DrawPoints_TwoColors – Draws points on an image with two colors, depending on the status of each point (usually: green or red for pass/fail status).