MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::Plot::LabelSpec Struct Reference

Construction-free text label description. More...

#include <PlotSpec.hpp>

+ Collaboration diagram for MayaFlux::Portal::Forma::Plot::LabelSpec:

Public Attributes

Kinesis::AABB2D bounds {}
 
glm::vec4 color { 0.85F, 0.85F, 0.85F, 1.F }
 
bool interactive { false }
 Whether the eventual Element should participate in hit testing.
 
std::string name
 Optional logical name for the eventual Element.
 
glm::uvec2 render_bounds {}
 Optional text pixel/render size override.
 
std::string text
 

Detailed Description

Construction-free text label description.

This is only a layout/style spec. It does not own a FormaBuffer, VKImage, Element, Surface, or Window. Forma is responsible for turning this into a textured Element via Element::with_text().

Definition at line 35 of file PlotSpec.hpp.


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