Documentation ¶
Index ¶
- Variables
- func Color(hexv string, defaultc color.RGBA) color.RGBA
- func ColorFromHex(hexv string) color.RGBA
- func Filter(a string, f ebiten.Filter) ebiten.Filter
- func Float32(v string, defaultf float32) float32
- func Float32V(v string) (float32, bool)
- func Float64(v string, defaultf float64) float64
- func Int(v string, defaulti int) int
- func Rs() string
- func S(a string, rest ...string) string
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 ColorFromHex ¶
ColorFromHex parses a RRGGBBAA (or RRGGBB) hexadecimal color into color.RGBA
Returns color.Transparent on invalid hex inputs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.