Public Types | Public Member Functions

Swift::WhiteboardPolygonElement Class Reference

Inheritance diagram for Swift::WhiteboardPolygonElement:
Collaboration diagram for Swift::WhiteboardPolygonElement:

List of all members.

Public Types

typedef boost::shared_ptr
< WhiteboardPolygonElement
ref

Public Member Functions

 WhiteboardPolygonElement ()
const std::vector< Point > & getPoints () const
void setPoints (const std::vector< Point > &points)
const WhiteboardColorgetPenColor () const
void setPenColor (const WhiteboardColor &color)
const WhiteboardColorgetBrushColor () 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)

Detailed Description

Definition at line 13 of file WhiteboardPolygonElement.h.


Member Typedef Documentation

Reimplemented from Swift::WhiteboardElement.

Definition at line 16 of file WhiteboardPolygonElement.h.


Constructor & Destructor Documentation

Swift::WhiteboardPolygonElement::WhiteboardPolygonElement (  )  [inline]

Definition at line 18 of file WhiteboardPolygonElement.h.


Member Function Documentation

void Swift::WhiteboardPolygonElement::accept ( WhiteboardElementVisitor visitor  )  [inline, virtual]
const WhiteboardColor& Swift::WhiteboardPolygonElement::getBrushColor (  )  const [inline]

Definition at line 37 of file WhiteboardPolygonElement.h.

const std::string& Swift::WhiteboardElement::getID (  )  const [inline, inherited]

Definition at line 21 of file WhiteboardElement.h.

const WhiteboardColor& Swift::WhiteboardPolygonElement::getPenColor (  )  const [inline]

Definition at line 29 of file WhiteboardPolygonElement.h.

int Swift::WhiteboardPolygonElement::getPenWidth (  )  const [inline]

Definition at line 45 of file WhiteboardPolygonElement.h.

const std::vector<Point>& Swift::WhiteboardPolygonElement::getPoints (  )  const [inline]

Definition at line 21 of file WhiteboardPolygonElement.h.

void Swift::WhiteboardPolygonElement::setBrushColor ( const WhiteboardColor color  )  [inline]

Definition at line 41 of file WhiteboardPolygonElement.h.

void Swift::WhiteboardElement::setID ( const std::string &  id  )  [inline, inherited]

Definition at line 25 of file WhiteboardElement.h.

void Swift::WhiteboardPolygonElement::setPenColor ( const WhiteboardColor color  )  [inline]

Definition at line 33 of file WhiteboardPolygonElement.h.

void Swift::WhiteboardPolygonElement::setPenWidth ( const int  penWidth  )  [inline]

Definition at line 49 of file WhiteboardPolygonElement.h.

void Swift::WhiteboardPolygonElement::setPoints ( const std::vector< Point > &  points  )  [inline]

Definition at line 25 of file WhiteboardPolygonElement.h.