Inheritance diagram for DrawablePath:

Public Member Functions | |
| DrawablePath () | |
| Creates a DrawablePath. | |
| virtual | ~DrawablePath () |
| Destructor. | |
| void | setPath (const Path &newPath) |
| Changes the path that will be drawn. | |
| const Path & | getPath () const throw () |
| Returns the current path. | |
| void | setSolidFill (const Colour &newColour) |
| Sets a colour to fill the path with. | |
| void | setFillBrush (const Brush &newBrush) |
| Sets a custom brush to use to fill the path. | |
| Brush * | getCurrentBrush () const throw () |
| Returns the brush currently being used to fill the shape. | |
| void | setOutline (const float thickness, const Colour &outlineColour) |
| Changes the properties of the outline that will be drawn around the path. | |
| void | setOutline (const PathStrokeType &strokeType, const Brush &strokeBrush) |
| Changes the properties of the outline that will be drawn around the path. | |
| const PathStrokeType & | getOutlineStroke () const throw () |
| Returns the current outline style. | |
| Brush * | getOutlineBrush () const throw () |
| Returns the brush currently being used to draw the outline. | |
| void | draw (Graphics &g, const AffineTransform &transform) const |
| void | getBounds (float &x, float &y, float &width, float &height) const |
| bool | hitTest (float x, float y) const |
| Drawable * | createCopy () const |
|
|
Creates a DrawablePath.
|
|
|
Destructor.
|
|
|
Changes the path that will be drawn.
|
|
|
Returns the current path.
|
|
|
Sets a colour to fill the path with. This colour is used to fill the path - if you don't want the path to be filled (e.g. if you're just drawing an outline), set this colour to be transparent.
|
|
|
Sets a custom brush to use to fill the path.
|
|
|
Returns the brush currently being used to fill the shape.
|
|
||||||||||||
|
Changes the properties of the outline that will be drawn around the path. If the thickness value is 0, no outline will be drawn. If one is drawn, the colour passed-in here will be used for it.
|
|
||||||||||||
|
Changes the properties of the outline that will be drawn around the path. If the stroke type has 0 thickness, no outline will be drawn.
|
|
|
Returns the current outline style.
|
|
|
Returns the brush currently being used to draw the outline.
|
|
||||||||||||
|
For internal use only.
Implements Drawable. |
|
||||||||||||||||||||
|
For internal use only.
Implements Drawable. |
|
||||||||||||
|
For internal use only.
Implements Drawable. |
|
|
For internal use only.
Implements Drawable. |