CorePlotting::LineStyleData
CorePlotting::LineStyleData
Serializable line style configuration. More…
#include <LineStyleData.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | hex_color Color as hex string (e.g., “#007bff”). |
| float | thickness Line thickness in pixels. |
| float | alpha Alpha transparency [0.0, 1.0]. |
Detailed Description
struct CorePlotting::LineStyleData;Serializable line style configuration.
Contains all user-configurable visual properties for rendering continuous lines and curves. This struct is designed to be embedded directly in plot state data structs for reflectcpp serialization.
All fields have sensible defaults so a default-constructed LineStyleData produces a visible blue line.
Public Attributes Documentation
variable hex_color
std::string hex_color = "#007bff";Color as hex string (e.g., “#007bff”).
variable thickness
float thickness = 1.0f;Line thickness in pixels.
variable alpha
float alpha = 1.0f;Alpha transparency [0.0, 1.0].
Updated on 2026-11-13 at 20:25:42 +0000