Font class
Font, font texture and GlyphInfo array data.
Constructors
- Font.fromRef(Font ref)
- Font, font texture and GlyphInfo array data.
Properties
- baseSize → int
-
Base size (default chars height).
no setter
- glyphCount → int
-
Number of glyph characters.
no setter
- glyphPadding → int
-
Padding around the glyph characters.
no setter
-
glyphs
→ PointerList<
GlyphInfo> -
Glyphs info data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
recs
→ PointerList<
Rectangle> -
Rectangles in texture for the glyphs.
final
- ref ↔ Font
-
Native reference.
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- texture → Texture2D
-
Texture atlas containing the glyphs.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited