Rerun C++ SDK
|
Archetype: A text element intended to be displayed in its own text box. More...
#include <rerun/archetypes/text_document.hpp>
Public Types | |
using | IndicatorComponent = rerun::components::IndicatorComponent< IndicatorComponentName > |
Indicator component, used to identify the archetype when converting to a list of components. | |
Public Member Functions | |
TextDocument (TextDocument &&other)=default | |
TextDocument (rerun::components::Text _text) | |
TextDocument | with_media_type (rerun::components::MediaType _media_type) && |
The Media Type of the text. | |
Public Attributes | |
rerun::components::Text | text |
Contents of the text document. | |
std::optional< rerun::components::MediaType > | media_type |
The Media Type of the text. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] |
Archetype: A text element intended to be displayed in its own text box.
Supports raw text and markdown.
|
inline |
The Media Type of the text.
For instance:
text/plain
text/markdown
If omitted, text/plain
is assumed.
std::optional<rerun::components::MediaType> rerun::archetypes::TextDocument::media_type |
The Media Type of the text.
For instance:
text/plain
text/markdown
If omitted, text/plain
is assumed.
|
staticconstexpr |