PumpkinBrush
Public Member Functions | List of all members
GeneralBrush Class Referenceabstract

GeneralBrush class which represent the brush instance when drawing on the canvas. More...

#include <GeneralBrush.hpp>

Inheritance diagram for GeneralBrush:
Inheritance graph
[legend]

Public Member Functions

virtual ~GeneralBrush ()
 
virtual sf::Color getColor ()=0
 
virtual void setColor (sf::Color)=0
 
virtual void setSize (size)=0
 
virtual int getSize ()=0
 
virtual std::vector< std::vector< int > > getShader ()=0
 
virtual int getType ()=0
 

Detailed Description

GeneralBrush class which represent the brush instance when drawing on the canvas.

Constructor & Destructor Documentation

◆ ~GeneralBrush()

virtual GeneralBrush::~GeneralBrush ( )
inlinevirtual

Member Function Documentation

◆ getColor()

virtual sf::Color GeneralBrush::getColor ( )
pure virtual

Implemented in Brush, and Pen.

◆ getShader()

virtual std::vector<std::vector<int> > GeneralBrush::getShader ( )
pure virtual

Implemented in Brush, and Pen.

◆ getSize()

virtual int GeneralBrush::getSize ( )
pure virtual

Implemented in Brush, and Pen.

◆ getType()

virtual int GeneralBrush::getType ( )
pure virtual

Implemented in Brush, and Pen.

◆ setColor()

virtual void GeneralBrush::setColor ( sf::Color  )
pure virtual

Implemented in Brush, and Pen.

◆ setSize()

virtual void GeneralBrush::setSize ( size  )
pure virtual

Implemented in Brush, and Pen.


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