HomeManualTopicsTypesSymbols

std_types::screen/std::draw_line

draws a horizontal or vertical line

Parameters

self
x1
y1
x2
y2

Results

None

Description

The following condition must hold:

x1 == x2 || y1 == y2

Topic

Terminal

Implements

std::draw_line draws a horizontal or vertical line

See also

std::draw_rectangle draws a rectangle