.. index:: pair: struct; EE::Graphics::RichText::InlineFragment .. _doxid-struct_e_e_1_1_graphics_1_1_rich_text_1_1_inline_fragment: struct EE::Graphics::RichText::InlineFragment ============================================= .. toctree:: :hidden: enum_EE_Graphics_RichText_InlineFragment_Type.rst A laid-out fragment produced by an inline item on one rendered line. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct InlineFragment { // enums enum :ref:`Type`; // fields :ref:`Type` :target:`type` { :ref:`Type::TextRun` }; :ref:`RenderSpan::InlinePath` :target:`itemPath`; size_t :target:`lineIndex` { 0 }; :ref:`Rectf` :target:`bounds`; :ref:`Rectf` :target:`paintBounds`; :ref:`Int64` :target:`startCharIndex` { 0 }; :ref:`Int64` :target:`endCharIndex` { 0 }; std::shared_ptr<:ref:`Text`> :target:`text`; :ref:`BaselineAlignValue` :target:`baselineAlign`; :ref:`InlineSource` :target:`source`; bool :target:`startsInlineBox` { false }; bool :target:`endsInlineBox` { false }; :ref:`Color` :target:`backgroundColor` { Color::Transparent }; :ref:`Float` :target:`borderWidth` { 0 }; :ref:`Color` :target:`borderColor` { Color::Transparent }; :ref:`Drawable`* :target:`backgroundDrawable` { nullptr }; :ref:`Drawable`* :target:`borderDrawable` { nullptr }; bool :target:`backgroundDrawableUsesFragmentColor` { false }; :ref:`Uint32` :target:`textDecoration` { 0 }; };