Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image » Image Drawing » DrawSegment

DrawSegment


Header: AVL.h
Namespace: avl
Module: FoundationLite

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 float 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 float 0.0 - 5.0f