Back to Aurora 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
Input will be modified ioImage Image&
Input value inSegment const Segment2D&
Input value inSegmentAlignment Optional<const CoordinateSystem2D&> NIL
Input value inColor const Pixel&
Input value inDrawingStyle const DrawingStyle&
Input value inMarkerType const MarkerType::Type Arrow
Input value inMarkerSize const float 0.0 - 5.0f