|
tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
|
Stroke properties for Painter::strokePath.
#include <tiny_skia/Stroke.h>
Public Attributes | |
| float | width = 1.0f |
| Stroke width in pixels. | |
| float | miterLimit = 4.0f |
| Miter join limit (ratio of miter length to stroke width). | |
| LineCap | lineCap = LineCap::Butt |
| Endpoint cap style. | |
| LineJoin | lineJoin = LineJoin::Miter |
| Corner join style. | |
| std::optional< StrokeDash > | dash |
| Optional dash pattern. | |