paint

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: BSL-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canvas

type Canvas interface {
	Fill(x, y int, obj int)
	Line(x1, y1, x2, y2 int, px float64, obj int)
	Square(x, y int, px, deg float64, obj int)
	Triangle(x, y int, px, deg float64, obj int)
	Dot(x, y int, px float64, obj int)
	Data() []int
	ToPng(filename string, palette []color.Color)
}

Canvas :

func NewCanv

func NewCanv(width, height int) Canvas

NewCanv :

Jump to

Keyboard shortcuts

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