Documentation ¶ Index ¶ type Image func NewImage(img image.Image, bounds image.Rectangle, tm *term.Terminal, scr tcell.Screen) (*Image, error) func (m *Image) Close() error func (m *Image) Draw() func (m *Image) Video(ctx context.Context, vid <-chan image.Image, frameDur time.Duration) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Image ¶ type Image struct { *views.CellView *term.Canvas // contains filtered or unexported fields } func NewImage ¶ func NewImage(img image.Image, bounds image.Rectangle, tm *term.Terminal, scr tcell.Screen) (*Image, error) func (*Image) Close ¶ func (m *Image) Close() error func (*Image) Draw ¶ func (m *Image) Draw() func (*Image) Video ¶ func (m *Image) Video(ctx context.Context, vid <-chan image.Image, frameDur time.Duration) error Source Files ¶ View all Source files image.go Click to show internal directories. Click to hide internal directories.