Expand description
Provides access to the layout of a text node.
Structsยง
- Byte
Index ๐ - A read-only text index in bytes.
- Decoration
Span ๐ - A text decoration span.
- Glyph ๐
- A glyph.
- Glyph
Cluster ๐ - Glyph
Clusters ๐ - An iterator over glyph clusters.
- Path
Normal ๐ - Positioned
Glyph - A glyph that has already been positioned correctly.
- Resolved
Font ๐ - Span
- A span contains a number of layouted glyphs that share the same fill, stroke, paint order and visibility.
Traitsยง
- Database
Ext ๐
Functionsยง
- apply_
length_ ๐adjust - apply_
letter_ ๐spacing - Applies the
letter-spacing
property to a text chunk clusters. - apply_
word_ ๐spacing - Applies the
word-spacing
property to a text chunk clusters. - apply_
writing_ ๐mode - Rotates clusters according to Unicode Vertical_Orientation Property.
- chunk_
span_ ๐at - clusters_
length ๐ - collect_
decoration_ ๐spans - collect_
normals ๐ - convert_
decoration ๐ - convert_
span ๐ - form_
glyph_ ๐clusters - is_
word_ ๐separator_ characters - Checks that the selected character is a word separator.
- layout_
text ๐ - process_
anchor ๐ - process_
chunk ๐ - Converts a text chunk into a list of outlined clusters.
- resolve_
baseline ๐ - resolve_
baseline_ ๐shift - resolve_
clusters_ ๐positions - Resolves clusters positions.
- resolve_
clusters_ ๐positions_ horizontal - resolve_
clusters_ ๐positions_ path - script_
supports_ ๐letter_ spacing - Checks that selected script supports letter spacing.
- shape_
text ๐ - Text shaping with font fallback.
- shape_
text_ ๐with_ font - Converts a text into a list of glyph IDs.
- span_
contains ๐
Type Aliasesยง
- Fonts
Cache ๐