#include <canvas_primitives.h>
Public Member Functions | |
Rectangle (const Color &color_, const Coordinate &left_top_, const Coordinate &right_bottom_) | |
std::string | get_representation () override |
Public Member Functions inherited from editor::figures::CanvasPrimitive | |
CanvasPrimitive ()=default | |
CanvasPrimitive (const Color &color_) | |
CanvasPrimitive (const Color &color_, int z_index_) | |
void | move_to_z_index (int z_index_) |
Primitive - Rectangle
editor::figures::Rectangle::Rectangle | ( | const Color & | color_, |
const Coordinate & | left_top_, | ||
const Coordinate & | right_bottom_ | ||
) |
|
overridevirtual |
Implements editor::figures::CanvasPrimitive.