creativity
v1.3.0
Agent-based model of creativity and piracy
|
Style class for a filled region. More...
#include <creativity/data/graph/style.hpp>
Public Member Functions | |
FillStyle (RGBA fill) | |
Constructs a FillStyle using just a fill colour: the borders will be omitted (i.e. More... | |
FillStyle (RGBA fill, LineStyle border) | |
Constructs a FillStyle using a fill colour and line style for the borders. More... | |
FillStyle (LineStyle border) | |
Constructs a FillStyle using just a LineStyle; the fill will be omitted (i.e. transparent). | |
FillStyle (FillStyle &&)=default | |
Move constructor. | |
FillStyle (const FillStyle &)=default | |
Copy constructor. | |
FillStyle & | operator= (FillStyle &&)=default |
Default move assignment. | |
FillStyle & | operator= (const FillStyle &)=default |
Default copy assignment. | |
Public Attributes | |
RGBA | fill_colour |
The fill colour for the region. | |
LineStyle | border |
The border colour for the region. | |
Style class for a filled region.
|
inline |
Constructs a FillStyle using just a fill colour: the borders will be omitted (i.e.
transparent and 0 width).
Constructs a FillStyle using a fill colour and line style for the borders.