MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ label() [2/2]

Series & MayaFlux::Portal::Forma::Plot::Series::label ( std::string  text,
Kinesis::AABB2D  bounds,
glm::vec4  color = { 0.85F, 0.85F, 0.85F, 1.F },
std::string  name = {} 
)
inline

Add a construction-free text label to this plot.

Definition at line 301 of file SeriesBuilder.hpp.

304 { 0.85F, 0.85F, 0.85F, 1.F },
305 std::string name = {})
306 {
307 m_labels.push_back(plot_label(std::move(text), bounds, color, std::move(name)));
308 return *this;
309 }
glm::vec3 color
Definition Decoder.cpp:97
std::string name
Definition VKDevice.cpp:123
Series & bounds(Kinesis::AABB2D bounds)
Set the logical plot/data bounds used by labels, tick labels, legends, and future plot adornments.
LabelSpec plot_label(std::string text, Kinesis::AABB2D bounds, glm::vec4 color, std::string name)
Create a single construction-free label spec.
Definition PlotSpec.cpp:222