struct EE::Graphics::RichText::InlineItem::Box

#include <richtext.hpp>

struct Box {
    // fields

    InlineSource source;
    Rectf margin;
    Rectf padding;
    Float lineHeight { 0 };
    BaselineAlignValue baselineAlign;
    Color backgroundColor { Color::Transparent };
    Float borderWidth { 0 };
    Color borderColor { Color::Transparent };
    Drawable* backgroundDrawable { nullptr };
    Drawable* borderDrawable { nullptr };
    bool backgroundDrawableUsesFragmentColor { false };
    Uint32 textDecoration { 0 };
    bool participatesInLineMetrics { true };
    bool contributesInlineSpacing { true };
    std::vector<InlineItem> children;
};