Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
Dima Marhitych edited this page Oct 17, 2023 · 5 revisions

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)

Clone this wiki locally