Graphics Editor
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
editor::figures::Rectangle Class Reference

#include <canvas_primitives.h>

Inheritance diagram for editor::figures::Rectangle:
Collaboration diagram for editor::figures::Rectangle:

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_)
 

Detailed Description

Primitive - Rectangle

Constructor & Destructor Documentation

editor::figures::Rectangle::Rectangle ( const Color color_,
const Coordinate left_top_,
const Coordinate right_bottom_ 
)

Member Function Documentation

std::string editor::figures::Rectangle::get_representation ( )
overridevirtual

The documentation for this class was generated from the following files: