#include <canvas_primitives.h>
Public Member Functions | |
Line (const Color &color_, const Coordinate &point1_, const Coordinate &point2_) | |
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 - Line
editor::figures::Line::Line | ( | const Color & | color_, |
const Coordinate & | point1_, | ||
const Coordinate & | point2_ | ||
) |
|
overridevirtual |
Implements editor::figures::CanvasPrimitive.