StrokeStyle
The StrokeStyle struct represents the properties of a stroke used in rendering, such as the width, offset, and color.
#include <interface/TellusimTypes.h>
Constructors
StrokeStyle()
explicit StrokeStyle(float32_t width)
explicit StrokeStyle(const Color &color)
StrokeStyle(float32_t width, float32_t offset)
StrokeStyle(float32_t width, const Color &color)
StrokeStyle(float32_t width, float32_t offset, const Color &color)
Methods
Check style.
bool isValid() const
operator bool() const
Variables
Type | Name | Value | Description |
---|---|---|---|
float32_t | width | 0.0f | Stroke width. |
float32_t | offset | 0.0f | Stroke offset. |
Color | color | Color::white | Stroke color. |