class

W3MImageDisplay::Image

Inherits Reference < Object

Constructors

new(path : String)
Source

Instance methods

clear

Remove the image

Source
draw(x, y, w, h, stretch = true, centre = true)

Draw using terminal columns and lines

Starting cell, then max size

Stretch determines if the image should be made to fit the box

centre determines if space should be added around the image if it is made smaller

Source
draw_pixel(x, y, w, h)

Draw using pixels

Source
size

Size of the image file

Source
sync
Source
sync_communication
Source