package
2.11.1+incompatible
Repository: https://github.com/buttairfly/gopanel.git
Documentation: pkg.go.dev

# Functions

NewCopyFrameFromImage creates a new Frame with the reference of Tiles and copies the other image contents into the frame.
NewCopyFrameWithEmptyImage creates a new Frame with the reference of Tiles but creates a new image.
NewFrame returns a paintable image consisting of many led-panel tiles.
NewLedStripe creates a new led stripe buffer.
NewPixelFromColor creates a new rgb byte struct from color.Color.
NewPixelFromHex parses a "html" hex color-string, either in the 3 "#f0c" or 6 "#ff1034" digits form.
NewPixelFromInt creates a new rgb byte struct from integer.
NewPixelFromInts creates a new rgb byte struct from single ints.
NewPixelFromSlice creates a new rgb byte struct from uint8 slice.
NewTile creates a new Tile.
NewTileConfigFromPath creates a new tile from config filePath.
NewTileConfigSnakeMapFile creates a new snake tile config.

# Constants

Red Green Blue an numBytePixel as constants.
FillTypeFullFrame is used when a full frame needs transferring.
FillTypeSingleFillColor is used when the frame consists of one color only.
FillTypeSinglePixelChange is used when only a single pixel changed.
FilTypeDoNothing should not update a frame.
Red Green Blue an numBytePixel as constants.
MapFormatString is the string to format the map[string]int led position mapping.
Red Green Blue an numBytePixel as constants.
Red Green Blue an numBytePixel as constants.

# Structs

LedStripeAction holds all diffenences between old and new LedStripe buffer.
MarshalTileConfig is a marshalable TileConfig.
TileConfig is a struct of a config of one led panel tile.
TileConfigSnakeGenerator struct to generate a tile config with snake pattern.

# Interfaces

Frame is a hardware frame.
LedStripe interface.
Pixel interface implements color interface.
Tile hardware interface.

# Type aliases

FrameFillType is an enum which holds the frame fill type.
MarshalTileConfigs is a slice of MarsshalTileConfig.
TileConfigs is a slice of TileConfig.