text, left-aligned Place centered text Place end-aligned text Obtain the text width Circle centered (x,y), radius r Rectangle, upper-left at (x,y) Rectangle centered at (x,y) Line from (x1,y) to (x2,y2) Image centered at (x,y) Display and run NewCanvas(name string, w, h int) Canvas Text(x, y, size float64, s string, fill color.RGBA) CText(x, y, size float64, s string, fill color.RGBA) EText(x, y, size float64, s string, fill color.RGBA) TextWidth(s string, size float64) float64 Circle(x, y, r float64, fill color.RGBA) CornerRect(x, y, w, h float64, fill color.RGBA) Rect(x, y, w, h float64, fill color.RGBA) Line(x1, y1, x2, y2, size float64, stroke color.RGBA) Image(x, y float64, w, h int, name string) EndRun()