TextRenderer class abstract

TextRenderer is an abstract interface for a class that can convert an arbitrary string of text into a renderable InlineTextElement.

Implementers

Constructors

TextRenderer()

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

format(String text) InlineTextElement
getLineMetrics(String text) LineMetrics
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Canvas canvas, String text, Vector2 position, {Anchor anchor = Anchor.topLeft}) → void
toString() String
A string representation of this object.
inherited

Operators

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