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

◆ plot_label()

MAYAFLUX_API LabelSpec MayaFlux::Portal::Forma::Plot::plot_label ( std::string  text,
Kinesis::AABB2D  bounds,
glm::vec4  color,
std::string  name 
)

Create a single construction-free label spec.

Definition at line 222 of file PlotSpec.cpp.

227{
228 return LabelSpec {
229 .text = std::move(text),
230 .bounds = bounds,
231 .color = color,
232 .name = std::move(name),
233 .interactive = false,
234 };
235}
Construction-free text label description.
Definition PlotSpec.hpp:35

References MayaFlux::Portal::Forma::Plot::LabelSpec::text.