GlyphInfo class final

The measurements of a character (or a sequence of visually connected characters) within a paragraph.

See also:

Constructors

GlyphInfo(Rect graphemeClusterLayoutBounds, TextRange graphemeClusterCodeUnitRange, TextDirection writingDirection)
Creates a GlyphInfo with the specified values.

Properties

graphemeClusterCodeUnitRange TextRange
The UTF-16 range of the associated character in the text.
final
graphemeClusterLayoutBounds Rect
The layout bounding rect of the associated character, in the paragraph's coordinates.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writingDirection TextDirection
The writing direction within the GlyphInfo.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override