CanvasTerminal class

Inheritance

Constructors

CanvasTerminal(int width, int height, Font font, [CanvasElement canvas])
factory

Properties

bounds Rectangle
read-only
backColor Color
read / write, inherited
cols int
final, inherited
foreColor Color
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
read-only, inherited
rows int
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Vector
read-only, inherited
width int
read-only, inherited

Methods

pixelToPosition(int x, int y) Vector
render() → void
setGlyph(int x, int y, Glyph glyph) → void
override
clear() → void
inherited
drawGlyph(int x, int y, Glyph glyph) → void
inherited
drawString(int x, int y, String str, [Color fore, Color back]) → void
inherited
fill(int x, int y, int width, int height, [Color color]) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sub(int x, int y, int width, int height) SubTerminal
Return a SubTerminal, a Terminal inside this Terminal.
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited