TerminalPaintContext class
Geometry and terminal state for one paint frame.
Coordinates are logical pixels in canvas's coordinate system, including render-object paint offset, padding, scroll position and text scaling.
Properties
- canvas → Canvas
-
final
- cellSize → Size
-
final
- controller → TerminalController
-
final
- endRow → int
-
End of the visible buffer row interval, exclusive.
final
- firstRow → int
-
First visible buffer row, inclusive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminal → Terminal
-
final
- viewport → Rect
-
final
Methods
-
cellOffset(
int column, int row) → Offset - Top-left of a buffer cell, using the renderer's row pixel alignment.
-
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