z

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Black = color.RGBA{0, 0, 0, 255}
View Source
var White = color.RGBA{255, 255, 255, 255}

Functions

func Color

func Color(hexv string, defaultc color.RGBA) color.RGBA

func ColorFromHex

func ColorFromHex(hexv string) color.RGBA

ColorFromHex parses a RRGGBBAA (or RRGGBB) hexadecimal color into color.RGBA

Returns color.Transparent on invalid hex inputs.

func Filter

func Filter(a string, f ebiten.Filter) ebiten.Filter

func Float32

func Float32(v string, defaultf float32) float32

func Float32V

func Float32V(v string) (float32, bool)

func Float64

func Float64(v string, defaultf float64) float64

func Int

func Int(v string, defaulti int) int

func Rs

func Rs() string

Rs unsafe random string (used for internal IDs)

func S

func S(a string, rest ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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