|
|
Donner
C++20 SVG rendering library
|
The parsed result of the 'stroke-dasharray' property, see: https://www.w3.org/TR/SVG2/painting.html#StrokeDasharrayProperty. More...
#include "donner/svg/core/Stroke.h"
Friends | |
| std::ostream & | operator<< (std::ostream &os, const StrokeDasharray &value) |
| Ostream output operator for StrokeDasharray enum, outputs the CSS value. | |
The parsed result of the 'stroke-dasharray' property, see: https://www.w3.org/TR/SVG2/painting.html#StrokeDasharrayProperty.
This is a vector of lengths, where each length represents the length of a dash or gap in the stroke. The first length is the length of the first dash in the stroke, the second length is the length of the first gap, the third length is the length of the second dash, and so on.
If the number of lengths is odd, the list of lengths is repeated to yield an even number of lengths.