InlineTextElement class abstract

InlineTextElement is the base class that represents a single line of text, laid out and prepared for rendering.

Inheritance
Implementers

Constructors

InlineTextElement()

Properties

boundingBox Rect
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
metrics LineMetrics
The dimensions of this line.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

draw(Canvas canvas) → void
Renders the element on the canvas, at coordinates determined during the layout.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Canvas canvas, Vector2 position, {Anchor anchor = Anchor.topLeft}) → void
toString() String
A string representation of this object.
inherited
translate(double dx, double dy) → void
Moves the element by (dx, dy) relative to its current location.
inherited

Operators

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