ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::Svg::Style Struct Reference

Style struct. More...

#include </home/runner/work/acts/acts/Plugins/ActSVG/include/ActsPlugins/ActSVG/SvgUtils.hpp>

Collaboration diagram for ActsPlugins::Svg::Style:
[legend]

Public Member Functions

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.

Public Attributes

std::array< int, 3 > fillColor = {255, 255, 255}
 RGB fill color.
double fillOpacity = 1.
 Fill opacity.
std::array< int, 3 > fontColor = {0}
 RGB font color.
unsigned int fontSize = 14u
 Font size in pixels.
std::array< int, 3 > highlightColor = {0, 0, 0}
 RGB highlight color.
std::vector< std::string > highlights = {}
 Highlight event names.
std::array< int, 3 > highlightStrokeColor = {0, 0, 0}
 RGB highlight stroke color.
double highlightStrokeWidth = 2
 Highlight stroke width.
unsigned int quarterSegments = 72u
 Number of segments to approximate a quarter of a circle.
std::array< int, 3 > strokeColor = {0, 0, 0}
 RGB stroke color.
std::vector< int > strokeDasharray = {}
 Stroke dash array pattern.
double strokeWidth = 0.5
 Stroke width.

Detailed Description

Style struct.

Member Function Documentation

◆ 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