Style struct.
More...
#include </home/runner/work/acts/acts/Plugins/ActSVG/include/ActsPlugins/ActSVG/SvgUtils.hpp>
|
| std::tuple< actsvg::style::fill, actsvg::style::stroke > | fillAndStroke () const |
| | Conversion to fill and stroke object from the base library.
|
| std::tuple< actsvg::style::fill, actsvg::style::stroke, actsvg::style::font > | fillStrokeFont () const |
| | Conversion to fill, stroke and font.
|
|
| std::array< int, 3 > | fillColor = {255, 255, 255} |
| double | fillOpacity = 1. |
| std::array< int, 3 > | fontColor = {0} |
| unsigned int | fontSize = 14u |
| std::array< int, 3 > | highlightColor = {0, 0, 0} |
| std::vector< std::string > | highlights = {} |
| std::array< int, 3 > | highlightStrokeColor = {0, 0, 0} |
| double | highlightStrokeWidth = 2 |
| unsigned int | quarterSegments = 72u |
| | Number of segments to approximate a quarter of a circle.
|
| std::array< int, 3 > | strokeColor = {0, 0, 0} |
| std::vector< int > | strokeDasharray = {} |
| double | strokeWidth = 0.5 |
◆ fillAndStroke()
| std::tuple< actsvg::style::fill, actsvg::style::stroke > ActsPlugins::Svg::Style::fillAndStroke |
( |
| ) |
const |
Conversion to fill and stroke object from the base library.
- Returns
- a tuple of actsvg digestable objects
◆ fillStrokeFont()
| std::tuple< actsvg::style::fill, actsvg::style::stroke, actsvg::style::font > ActsPlugins::Svg::Style::fillStrokeFont |
( |
| ) |
const |
Conversion to fill, stroke and font.
- Returns
- a tuple of actsvg digestable objects
◆ fillColor
| std::array<int, 3> ActsPlugins::Svg::Style::fillColor = {255, 255, 255} |
◆ fillOpacity
| double ActsPlugins::Svg::Style::fillOpacity = 1. |
◆ fontColor
| std::array<int, 3> ActsPlugins::Svg::Style::fontColor = {0} |
◆ fontSize
| unsigned int ActsPlugins::Svg::Style::fontSize = 14u |
◆ highlightColor
| std::array<int, 3> ActsPlugins::Svg::Style::highlightColor = {0, 0, 0} |
◆ highlights
| std::vector<std::string> ActsPlugins::Svg::Style::highlights = {} |
◆ highlightStrokeColor
| std::array<int, 3> ActsPlugins::Svg::Style::highlightStrokeColor = {0, 0, 0} |
◆ highlightStrokeWidth
| double ActsPlugins::Svg::Style::highlightStrokeWidth = 2 |
◆ quarterSegments
| unsigned int ActsPlugins::Svg::Style::quarterSegments = 72u |
Number of segments to approximate a quarter of a circle.
◆ strokeColor
| std::array<int, 3> ActsPlugins::Svg::Style::strokeColor = {0, 0, 0} |
◆ strokeDasharray
| std::vector<int> ActsPlugins::Svg::Style::strokeDasharray = {} |
◆ strokeWidth
| double ActsPlugins::Svg::Style::strokeWidth = 0.5 |