HomeManualTopicsTypesSymbols

std_types::screen/std::draw_rectangle

draws a rectangle

Parameters

self
x1
y1
x2
y2

Results

None

Description

The points x1/y1 and x2/y2 denote opposite corners of the rectangle.

The rectangle goes through the specified corner points.

Topic

Terminal

Implements

std::draw_rectangle draws a rectangle

See also

std::draw_line draws a horizontal or vertical line