Shaka Packager SDK
|
#include <text_sample.h>
Public Member Functions | |
TextFragment (const TextFragmentStyle &style, const std::vector< TextFragment > &sub_fragments) | |
TextFragment (const TextFragmentStyle &style, const char *body) | |
TextFragment (const TextFragmentStyle &style, const std::string &body) | |
TextFragment (const TextFragmentStyle &style, const std::vector< uint8_t > &image) | |
TextFragment (const TextFragmentStyle &style, bool newline) | |
bool | is_empty () const |
Public Attributes | |
TextFragmentStyle | style |
std::vector< TextFragment > | sub_fragments |
std::string | body |
std::vector< uint8_t > | image |
PNG image data. | |
bool | newline = false |
Represents a recursive structure of styled blocks of text. Only one of sub_fragments, body, image, or newline will be set.
Definition at line 89 of file text_sample.h.