Documentation ¶
Index ¶
- func DoesColorMatch(p1 color.Color, p2 color.Color, delta int) bool
- func DoesPixelMatch(pixel color.Color, x, y int, ref image.Image, delta int) bool
- func GetMatch(refName string, input image.Image) float32
- func GetProjectRootPath() string
- func IsWebGlSupported() bool
- func ReadSlice(data []byte) io.Reader
- func SaveImage(name string, img image.Image)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesPixelMatch ¶
func GetMatch ¶
*
- GetMatch returns the percentage (0.0 .. 1.0) of how much the passed image
- equals to the one referenced via file name.
func GetProjectRootPath ¶ added in v0.0.4
func GetProjectRootPath() string
func IsWebGlSupported ¶
func IsWebGlSupported() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.