Documentation ¶
Index ¶
- type ColorMapping
- func (m *ColorMapping) GetColor(name string, param2 int) *color.RGBA
- func (m *ColorMapping) GetColors() map[string]*color.RGBA
- func (m *ColorMapping) LoadColorMapping(buffer []byte) (int, error)
- func (m *ColorMapping) LoadPalette(palettefile, nodelistfile []byte) error
- func (m *ColorMapping) ReadColorMapping(r io.Reader) (int, error)
- type Palette
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorMapping ¶
type ColorMapping struct {
// contains filtered or unexported fields
}
func NewColorMapping ¶
func NewColorMapping() *ColorMapping
func (*ColorMapping) GetColor ¶
func (m *ColorMapping) GetColor(name string, param2 int) *color.RGBA
func (*ColorMapping) LoadColorMapping ¶
func (m *ColorMapping) LoadColorMapping(buffer []byte) (int, error)
func (*ColorMapping) LoadPalette ¶
func (m *ColorMapping) LoadPalette(palettefile, nodelistfile []byte) error
func (*ColorMapping) ReadColorMapping ¶ added in v1.0.1
func (m *ColorMapping) ReadColorMapping(r io.Reader) (int, error)
Click to show internal directories.
Click to hide internal directories.