paint

package
v0.0.0-...-1210f28 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	// contains filtered or unexported methods
}

type GUI

type GUI struct {
	Element interface{}
}

type Image

type Image struct {
	Image image.Image
}

type Item

type Item struct {
	image.Rectangle
	Command Command
	Node    dom.Node
	Fixed   bool // viewport coordinates instead of document coordinates
}

type List

type List []Item

func (List) NodeAt

func (l List) NodeAt(point, offset image.Point) dom.Node

func (*List) Push

func (l *List) Push(it Item)

type Plain

type Plain struct {
	color.Color
}

type Text

type Text struct {
	Font font.Font
	Data string
	color.Color
}

Jump to

Keyboard shortcuts

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