rendering

package
v0.0.0-...-b1374c3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// White color
	White = uint64(0xffffffff)
	// Black color
	Black = uint64(0x000000ff)
	// Red color
	Red = uint64(0xff0000ff)
	// Green color
	Green = uint64(0x00ff00ff)
	// Blue color
	Blue = uint64(0x0000ffff)

	// DarkerGray color
	DarkerGray = uint64(0x404040ff)
	// DarkGray color
	DarkGray = uint64(0x505050ff)
	// LightGray color
	LightGray = uint64(0x646464ff)
	// Gray color
	Gray = uint64(0xaaaaaaff)
	// Silver color
	Silver = uint64(0xddddddff)

	// Orange color
	Orange = uint64(0xff7f00ff)
	// SoftOrange color
	SoftOrange = uint64(0xFF851BFF)
	// Yellow color
	Yellow = uint64(0xFFDC00FF)
	// Peach color
	Peach = uint64(0xF1C6A7FF)

	// SoftGreen color
	SoftGreen = uint64(0x2ECC40FF)
	// Olive color
	Olive = uint64(0x3D9970FF)
	// Teal color
	Teal = uint64(0x39CCCCFF)
	// Lime color
	Lime = uint64(0x01FF70FF)

	// SoftBlue color
	SoftBlue = uint64(0x0074D9FF)
	// Navy color
	Navy = uint64(0x001f3fFF)
	// Aqua color
	Aqua = uint64(0x7FDBFFFF)
	// LightPurple color
	LightPurple = uint64(0xaaaaffFF)

	// LightNavyBlue color
	LightNavyBlue = uint64(0x85B3D1FF)
)

Variables

This section is empty.

Functions

func NewPalette

func NewPalette() api.IPalette

NewPalette constructs an IPalette color object

func NewPaletteInt64

func NewPaletteInt64(c uint64) api.IPalette

NewPaletteInt64 constructs an RGB color object a single 64bit int

func NewPaletteRGB

func NewPaletteRGB(r, g, b int) api.IPalette

NewPaletteRGB constructs an RGB color object

func NewPaletteRGBA

func NewPaletteRGBA(r, g, b, a int) api.IPalette

NewPaletteRGBA constructs an RGB color object with alpha

func NewRasterFont

func NewRasterFont() api.IRasterFont

NewRasterFont constructs an IRasterFont object

func NewRenderContext

func NewRenderContext(world api.IWorld) api.IRenderContext

NewRenderContext constructs an IRenderContext object

func NewVectorFont

func NewVectorFont() api.IVectorFont

NewVectorFont constructs an IVectorFont object

func NewVectorMapFont

func NewVectorMapFont() api.IVectorFont

NewVectorMapFont constructs an IVectorFont object

Types

This section is empty.

Jump to

Keyboard shortcuts

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