Module textlayout
Expand description
Layout and rendering of multi-line, styled text via Skia’s skparagraph module.
Modules§
- paragraph
- Multi-line, styled text layout and rendering via Skia’s
skparagraphmodule (seecrate::textlayout::Paragraph).
Structs§
- Block
- Decoration
- Font
Families - Efficient reference type to a C++ vector of font family strings
(
skia_bindings::SkStrings). - Line
Metrics - Placeholder
- Placeholder
Style - Position
With Affinity - Style
Metrics - TextBox
- Text
Decoration - Multiple decorations can be applied at once. Ex: Underline and overline is (0x1 | 0x2)
- Text
Shadow
Enums§
- Affinity
- Placeholder
Alignment - Where to vertically align the placeholder relative to the surrounding text.
- Rect
Height Style - Rect
Width Style - Style
Type - Text
Align - Text
Baseline - Text
Decoration Mode - Text
Decoration Style - Text
Direction - Text
Height Behavior