img

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(change func(p *Pixel))

Types

type Pixel

type Pixel struct {
	ImageW, ImageH int
	X, Y           int
	R, G, B, A     uint8
}

func (*Pixel) SetRGB

func (p *Pixel) SetRGB(r, g, b uint8)

func (*Pixel) SetRGBA

func (p *Pixel) SetRGBA(r, g, b, a uint8)

Jump to

Keyboard shortcuts

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