roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::BasicShape Class Reference

Base class for simple colored shapes. More...

#include <basic.h>

Inheritance diagram for roo_display::BasicShape:
[legend]
Collaboration diagram for roo_display::BasicShape:
[legend]

Public Member Functions

Color color () const
 Return the shape color.
 
- Public Member Functions inherited from roo_display::Drawable
virtual ~Drawable ()
 
virtual Box extents () const =0
 Return the bounding box encompassing all pixels that need to be drawn.
 
virtual Box anchorExtents () const
 Return the bounds used for alignment.
 

Protected Member Functions

 BasicShape (Color color)
 

Additional Inherited Members

- Static Public Member Functions inherited from roo_display::Drawable
static const DrawableEmpty ()
 A singleton representing a no-op drawable with no bounding box.
 

Detailed Description

Base class for simple colored shapes.

Definition at line 11 of file basic.h.

Constructor & Destructor Documentation

◆ BasicShape()

roo_display::BasicShape::BasicShape ( Color  color)
inlineprotected

Definition at line 17 of file basic.h.

Member Function Documentation

◆ color()

Color roo_display::BasicShape::color ( ) const
inline

Return the shape color.

Definition at line 14 of file basic.h.

Referenced by roo_display::FilledRect::getTransparencyMode(), and roo_display::FilledRect::readColors().


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