VtImage class final

An image the terminal shows (Vt.images): placement placement of kitty image id, or a sixel or iTerm2 image, of bytes bytes of image data, over the cells cells it still has of the cols x rows from (x, y).

Properties

bytes → int
How many bytes of image data were sent for it, as decoded from their base64 where they were sent so.
final
cells ↔ int
How many cells of the rectangle still show it: fewer than cols × rows where text was printed over a sixel or iTerm2 image, or part of it scrolled off.
getter/setter pair
cols ↔ int
How many columns the rectangle around its cells is wide.
getter/setter pair
crop → (int, int, int, int)?
kitty: the part of the image shown, (x, y, width, height) in pixels; null for all of it.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
kitty: the id of the image; 0 for a sixel or iTerm2 image.
final
placement → int
kitty: the id of the placement of the image; 0 for a sixel or iTerm2 image.
final
protocol → GraphicsProtocol
The protocol it was sent in: kitty, sixel or iTerm2.
final
rows ↔ int
How many rows the rectangle around its cells is high.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x ↔ int
The column of the left of the rectangle around its cells, as Vt.images last found it.
getter/setter pair
y ↔ int
The row of the top of the rectangle around its cells, as Vt.images last found it.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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