Documentation
¶
Overview ¶
Package logo contains logos that can be used with a framebuffer console.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alignment ¶
type Alignment uint8
Alignment defines the supported horizontal alignments for a console logo.
type Image ¶
type Image struct { // The width and height of the logo in pixels. Width uint32 Height uint32 // Align specifies the horizontal alignment for the logo. Align Alignment // TransparentIndex defines a color index that will be treated as // transparent when drawing the logo. TransparentIndex uint8 // The palette for the logo. The console remaps the palette // entries to the end of its own palette. Palette []color.RGBA // The logo data comprises of Width*Height bytes where each byte // represents an index in the logo palette. Data []uint8 }
Image describes an 8bpp image with