drawille

package
v3.1.1-0...-cd36cad Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BRAILLE_OFFSET = '\u2800'

Variables

View Source
var BRAILLE = [4][2]rune{
	{'\u0001', '\u0008'},
	{'\u0002', '\u0010'},
	{'\u0004', '\u0020'},
	{'\u0040', '\u0080'},
}

Functions

This section is empty.

Types

type Canvas

type Canvas struct {
	CellMap map[image.Point]Cell
}

func NewCanvas

func NewCanvas() *Canvas

func (*Canvas) GetCells

func (self *Canvas) GetCells() map[image.Point]Cell

func (*Canvas) SetLine

func (self *Canvas) SetLine(p0, p1 image.Point, color Color)

func (*Canvas) SetPoint

func (self *Canvas) SetPoint(p image.Point, color Color)

type Cell

type Cell struct {
	Rune  rune
	Color Color
}

type Color

type Color int

Jump to

Keyboard shortcuts

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