psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::TextLayoutStyle Struct Reference

#include <TextLayout.hpp>

Public Member Functions

bool operator== (const TextLayoutStyle &) const =default

Public Attributes

sk_sp< skia::textlayout::FontCollection > fonts {nullptr}
std::string fontFamily {}
float fontSize {0.0f}
float lineHeight {0.0f}
float letterSpacing {0.0f}
FontSmoothing smoothing {FontSmoothing::Grayscale}
TextAlign align {TextAlign::Start}
TextOverflow overflow {TextOverflow::Clip}

Detailed Description

What a TextLayout lays its text out with, from a Text's computed style


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