util

package
v0.0.0-...-54b116d Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LightGrey  = Rgb(0xbbbbbb)
	LightPink  = Rgb(0xffb6c1)
	LightBlue  = Rgb(0x039be5)
	LightGreen = Rgb(0x7cb342)

	White         = Rgb(0xffffff)
	Black         = Rgb(0x000000)
	Red           = Rgb(0xe53935)
	Blue          = Rgb(0x1e88e5)
	SelectedColor = Rgb(0xe1f5fe)
)

Functions

func Absf32

func Absf32(x float32) float32

func Argb

func Argb(c uint32) color.RGBA

func Max

func Max(n, m float32) float32

func MaxInt

func MaxInt(a, b int) int

func Min

func Min(n, m float32) float32

func Rgb

func Rgb(c uint32) color.RGBA

func ToPointF

func ToPointF(p image.Point) f32.Point

Types

This section is empty.

Jump to

Keyboard shortcuts

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