Public Types | |
typedef boost::shared_ptr < WhiteboardRectElement > | ref |
Public Member Functions | |
WhiteboardRectElement (int x, int y, int width, int height) | |
int | getX () const |
int | getY () const |
int | getWidth () const |
int | getHeight () const |
const WhiteboardColor & | getPenColor () const |
void | setPenColor (const WhiteboardColor &color) |
const WhiteboardColor & | getBrushColor () const |
void | setBrushColor (const WhiteboardColor &color) |
int | getPenWidth () const |
void | setPenWidth (const int penWidth) |
void | accept (WhiteboardElementVisitor &visitor) |
const std::string & | getID () const |
void | setID (const std::string &id) |
Definition at line 13 of file WhiteboardRectElement.h.
typedef boost::shared_ptr<WhiteboardRectElement> Swift::WhiteboardRectElement::ref |
Reimplemented from Swift::WhiteboardElement.
Definition at line 15 of file WhiteboardRectElement.h.
Swift::WhiteboardRectElement::WhiteboardRectElement | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [inline] |
Definition at line 17 of file WhiteboardRectElement.h.
void Swift::WhiteboardRectElement::accept | ( | WhiteboardElementVisitor & | visitor | ) | [inline, virtual] |
Implements Swift::WhiteboardElement.
Definition at line 64 of file WhiteboardRectElement.h.
References Swift::WhiteboardElementVisitor::visit().
const WhiteboardColor& Swift::WhiteboardRectElement::getBrushColor | ( | ) | const [inline] |
Definition at line 48 of file WhiteboardRectElement.h.
int Swift::WhiteboardRectElement::getHeight | ( | ) | const [inline] |
Definition at line 36 of file WhiteboardRectElement.h.
const std::string& Swift::WhiteboardElement::getID | ( | ) | const [inline, inherited] |
Definition at line 21 of file WhiteboardElement.h.
const WhiteboardColor& Swift::WhiteboardRectElement::getPenColor | ( | ) | const [inline] |
Definition at line 40 of file WhiteboardRectElement.h.
int Swift::WhiteboardRectElement::getPenWidth | ( | ) | const [inline] |
Definition at line 56 of file WhiteboardRectElement.h.
int Swift::WhiteboardRectElement::getWidth | ( | ) | const [inline] |
Definition at line 32 of file WhiteboardRectElement.h.
int Swift::WhiteboardRectElement::getX | ( | ) | const [inline] |
Definition at line 24 of file WhiteboardRectElement.h.
int Swift::WhiteboardRectElement::getY | ( | ) | const [inline] |
Definition at line 28 of file WhiteboardRectElement.h.
void Swift::WhiteboardRectElement::setBrushColor | ( | const WhiteboardColor & | color | ) | [inline] |
Definition at line 52 of file WhiteboardRectElement.h.
void Swift::WhiteboardElement::setID | ( | const std::string & | id | ) | [inline, inherited] |
Definition at line 25 of file WhiteboardElement.h.
void Swift::WhiteboardRectElement::setPenColor | ( | const WhiteboardColor & | color | ) | [inline] |
Definition at line 44 of file WhiteboardRectElement.h.
void Swift::WhiteboardRectElement::setPenWidth | ( | const int | penWidth | ) | [inline] |
Definition at line 60 of file WhiteboardRectElement.h.