render

package
v0.0.0-...-237f6a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTransparent

func IsTransparent(cl color.Color) bool

Types

type Renderer

type Renderer interface {
	Render(img image.Image) string
	RenderBig(img image.Image) string
}

type XTerm256

type XTerm256 struct {
	B bytes.Buffer
}

func (*XTerm256) BG

func (r *XTerm256) BG(colorCode int)

func (*XTerm256) BigPixel

func (r *XTerm256) BigPixel(c color.Color)

func (*XTerm256) BottomPixel

func (r *XTerm256) BottomPixel()

func (*XTerm256) EmptyPixel

func (r *XTerm256) EmptyPixel()

func (*XTerm256) FG

func (r *XTerm256) FG(colorCode int)

func (*XTerm256) NewLine

func (r *XTerm256) NewLine()

func (*XTerm256) Pixel

func (r *XTerm256) Pixel(top color.Color, bottom color.Color)

func (*XTerm256) Render

func (r *XTerm256) Render(img image.Image) string

func (*XTerm256) RenderBig

func (r *XTerm256) RenderBig(img image.Image) string

func (*XTerm256) Reset

func (r *XTerm256) Reset()

func (*XTerm256) TopPixel

func (r *XTerm256) TopPixel()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL