pixel

package module
v0.0.0-...-087c424 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoPixel

type GoPixel struct {
	// contains filtered or unexported fields
}

func NewGoPixel

func NewGoPixel() *GoPixel

func (*GoPixel) GetAlpha

func (gp *GoPixel) GetAlpha() byte

func (*GoPixel) GetBlue

func (gp *GoPixel) GetBlue() byte

func (*GoPixel) GetColor

func (gp *GoPixel) GetColor(channel byte) byte

func (*GoPixel) GetGreen

func (gp *GoPixel) GetGreen() byte

func (*GoPixel) GetRed

func (gp *GoPixel) GetRed() byte

func (*GoPixel) SetAlpha

func (gp *GoPixel) SetAlpha(alpha byte)

func (*GoPixel) SetBlue

func (gp *GoPixel) SetBlue(blue byte)

func (*GoPixel) SetColor

func (gp *GoPixel) SetColor(channel byte, val byte)

func (*GoPixel) SetGreen

func (gp *GoPixel) SetGreen(green byte)

func (*GoPixel) SetRGBA

func (gp *GoPixel) SetRGBA(r byte, g byte, b byte, a byte)

func (*GoPixel) SetRed

func (gp *GoPixel) SetRed(red byte)

Jump to

Keyboard shortcuts

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