![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
SVG style captured for each inserted element. More...
#include <canvas.hpp>
Public Member Functions | |
| void | apply (const CanvasCommand &command) |
| Applies one style command in place. | |
Public Attributes | |
| std::string | stroke = "black" |
| std::string | fill = "none" |
| std::string | fillOpacity = "1" |
| std::string | strokeOpacity = "1" |
| std::string | strokeWidth = "2" |
| std::string | pointRadius = "3" |
SVG style captured for each inserted element.
|
inline |
Applies one style command in place.
| command | Command to apply. |
| std::string pgl::CanvasStyle::fill = "none" |
| std::string pgl::CanvasStyle::fillOpacity = "1" |
| std::string pgl::CanvasStyle::pointRadius = "3" |
| std::string pgl::CanvasStyle::stroke = "black" |
| std::string pgl::CanvasStyle::strokeOpacity = "1" |
| std::string pgl::CanvasStyle::strokeWidth = "2" |