tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
Loading...
Searching...
No Matches
tiny_skia::Stroke Struct Reference

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< StrokeDashdash
 Optional dash pattern.
 

The documentation for this struct was generated from the following file: