BLTextLayout class

Layout de texto avançado com suporte a shaping (GSUB/GPOS), Bidi (LTR/RTL), e quebras de linha multi-line (\n).

Constructors

BLTextLayout()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

measureText(String text, BLFont font, {Set<String>? gsubFeatures, Set<String>? gposFeatures}) → BLTextMetrics
Measures text dimensions including exact bounding box extraction.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shapeSimple(String text, BLFont font, {double x = 0.0, double y = 0.0, Set<String>? gsubFeatures, Set<String>? gposFeatures}) → BLGlyphRun
Alias de transição para compatibilidade da API (usará shapeText).
shapeText(String text, BLFont font, {double x = 0.0, double y = 0.0, Set<String>? gsubFeatures, Set<String>? gposFeatures}) → BLGlyphRun
Executa shaping e posicionamento com suporte a Bidirecionalidade (script árabe/hebraico em blocos isolados) e multi-line (\n).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited