Go to the documentation of this file.
17 std::vector<std::vector<std::vector<int>>> m_shaders;
22 void setColor(sf::Color color)
override;
25 std::vector<std::vector<int>>
getShader()
override;
size
Definition: GeneralBrush.hpp:8
std::vector< std::vector< int > > getShader() override
Get the shader of the pen.
Definition: Pen.cpp:51
Pen()
Constructor of pen.
Definition: Pen.cpp:32
void setSize(size size) override
Set the size of the pen.
Definition: Pen.cpp:81
sf::Color getColor() override
Get the color of the pen.
Definition: Pen.cpp:44
GeneralBrush class which represent the brush instance when drawing on the canvas.
Definition: GeneralBrush.hpp:13
int getType() override
Get type of the pen.
Definition: Pen.cpp:95
int getSize() override
Get the size of the pen.
Definition: Pen.cpp:66
void setColor(sf::Color color) override
Set the color of the pen.
Definition: Pen.cpp:88
One kind of Brush which draws a circle shape of pixels.
Definition: Pen.hpp:13