Back to Aurora Vision Library Lite website

You are here: Start » Image » Image Drawing » DrawLine

DrawLine


Header: AVL.h
Namespace: avl

Draws a line on an image.

Syntax

void avl::DrawLine
(
	avl::Image& ioImage,
	const avl::Line2D& inLine,
	atl::Optional<const avl::CoordinateSystem2D&> inLineAlignment,
	const avl::Pixel& inColor,
	const avl::DrawingStyle& inDrawingStyle
)

Parameters

Name Type Default Description
Input will be modified ioImage Image&
Input value inLine const Line2D&
Input value inLineAlignment Optional<const CoordinateSystem2D&> NIL
Input value inColor const Pixel&
Input value inDrawingStyle const DrawingStyle&