#include <Compounds.h>
| Box::Box |
( |
double |
width = 1., |
|
|
const color & |
color = color(0, 0, 0) |
|
) |
| |
|
inline |
- Parameters
-
| width | line width for the box |
| color | line color for the box |
Method to draw a box defined by two corners.
- Parameters
-
| board | whiteboard to display on |
| from | starting corner of the box |
| to | opposite corner of the box |
Method to draw a box given the coordinates of the corners.
- Parameters
-
| board | whiteboard to display on |
| a | first corner of box |
| b | second corner of box |
| c | third corner of box |
| d | fourth corner of box |
The documentation for this class was generated from the following file: