Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Drawing » DrawSegment
Draws a segment on an image.
Syntax
C++
C#
void avl::DrawSegment ( avl::Image& ioImage, const avl::Segment2D& inSegment, atl::Optional<const avl::CoordinateSystem2D&> inSegmentAlignment, const avl::Pixel& inColor, const avl::DrawingStyle& inDrawingStyle, const avl::MarkerType::Type inMarkerType, const atl::real inMarkerSize )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioImage | Image& | ||||
![]() |
inSegment | const Segment2D& | |||
![]() |
inSegmentAlignment | Optional<const CoordinateSystem2D&> | NIL | ||
![]() |
inColor | const Pixel& | |||
![]() |
inDrawingStyle | const DrawingStyle& | |||
![]() |
inMarkerType | const MarkerType::Type | Arrow | ||
![]() |
inMarkerSize | const real | 0.0 - ![]() |
5.0f |


