Custom style class redefining the pen color and the fill color. You may use Board2D::Color::None for transparent color.
More...
#include <DGtal/io/boards/Board2D.h>
Custom style class redefining the pen color and the fill color. You may use Board2D::Color::None for transparent color.
board <<
CustomColors( Board2D::Color::Red, Board2D::Color::None );
...
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
CustomColors(const Color &penColor, const Color &fillColor)
- See also
- Board2D
- Examples
- arithmetic/lower-integer-convex-hull.cpp, geometry/curves/exampleAlphaThickSegment.cpp, geometry/curves/exampleAlphaThickSegmentNoisy.cpp, geometry/curves/exampleArithmeticalDSS.cpp, geometry/curves/exampleRationalConvexity.cpp, geometry/surfaces/dvcm-2d-curvature.cpp, geometry/volumes/distance/distancetransform2D.cpp, geometry/volumes/distance/toricdomainvolumetric.cpp, geometry/volumes/distance/voronoimap2D.cpp, geometry/volumes/dvcm-2d.cpp, geometry/volumes/fullConvexityCollapsiblePoints2D.cpp, geometry/volumes/fullConvexityLUT2D.cpp, graph/graphTraversal.cpp, io/boards/dgtalBoard2D-3-custom-classes.cpp, io/boards/dgtalBoard2D-4-colormaps.cpp, topology/ctopo-1.cpp, topology/ctopo-2.cpp, topology/ctopo-fillContours.cpp, topology/cubical-complex-illustrations.cpp, topology/digitalSetToCubicalComplexes2D.cpp, topology/generateSimplicityTables2D.cpp, and tutorial-examples/freemanChainFromImage.cpp.
Definition at line 278 of file Board2D.h.
◆ CustomColors()
DGtal::CustomColors::CustomColors |
( |
const Color & | penColor, |
|
|
const Color & | fillColor ) |
|
inline |
Constructor.
- Parameters
-
penColor | specifies the pen color. |
fillColor | specifies the fill color. |
Definition at line 289 of file Board2D.h.
◆ setStyle()
virtual void DGtal::CustomColors::setStyle |
( |
Board2D & | | ) |
const |
|
inlinevirtual |
◆ myFillColor
Color DGtal::CustomColors::myFillColor |
◆ myPenColor
Color DGtal::CustomColors::myPenColor |
The documentation for this struct was generated from the following file: