DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::DrawableWithBoard2D Struct Reference

#include <DGtal/base/Common.h>

Inheritance diagram for DGtal::DrawableWithBoard2D:
[legend]

Public Member Functions

virtual void setStyle (Board2D &) const
 
virtual ~DrawableWithBoard2D ()
 

Detailed Description

Interface that specifies that an object can draw itself on a board.

Todo
(JOL) Put this class elsewhere.
Examples
io/boards/dgtalBoard2D-3-custom-points.cpp.

Definition at line 220 of file Common.h.

Constructor & Destructor Documentation

◆ ~DrawableWithBoard2D()

virtual DGtal::DrawableWithBoard2D::~DrawableWithBoard2D ( )
inlinevirtual

Definition at line 226 of file Common.h.

226{}

Member Function Documentation

◆ setStyle()

virtual void DGtal::DrawableWithBoard2D::setStyle ( Board2D & ) const
inlinevirtual

Operation to override. Does nothing by default.

Reimplemented in DGtal::CustomColors, DGtal::CustomFillColor, DGtal::CustomPen, and DGtal::CustomPenColor.

Definition at line 225 of file Common.h.

225{}

Referenced by DGtal::Style2DFactory::draw().


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