Image - dimkauzh/webzen GitHub Wiki
Api for the image module
To get it run:
import (
"github.com/dimkauzh/webzen/src/image"
)
Structs
type Image struct {
imagePath string
width float64
height float64
x float64
y float64
}
Functions
func LoadImage(imagePath string, width, height, x, y float64) -> Image
func (i *Image) Draw()
func DrawImage(imagePath string, width, height, x, y float64)