There are methods for Text (begin, centered, and end aligned), Circles, Lines, Rectangles, and Images.

Code

fc.NewCanvas(name string, w, h int) Canvas

Percent coordinate based methods

	(canvas *Canvas) EndRun()
	(canvas *Canvas) Text(x, y float64, size float64, s string, color color.RGBA)
	(canvas *Canvas) CText(x, y float64, size float64, s string, color color.RGBA)
	(canvas *Canvas) EText(x, y float64, size float64, s string, color color.RGBA)
	(canvas *Canvas) Circle(x, y, r float64, color color.RGBA)
	(canvas *Canvas) Line(x1, y1, x2, y2, size float64, color color.RGBA)
	(canvas *Canvas) Rect(x, y, w, h float64, color color.RGBA)
	(canvas *Canvas) CornerRect(x, y, w, h float64, color color.RGBA)
	(canvas *Canvas) Image(x, y float64, w, h int, name string)

Absolute methods: uses absolute coordinate system and fyne structures directly

	func AbsStart(name string, w, h int) (fyne.Window, *fyne.Container)
	func AbsEnd(window fyne.Window, content *fyne.Container, w, h int) 
	func AbsText(c *fyne.Container, x, y int, s string, size int, color color.RGBA)
	func AbsTextMid(c *fyne.Container, x, y int, s string, size int, color color.RGBA)
	func AbsTextEnd(c *fyne.Container, x, y int, s string, size int, color color.RGBA)
	func AbsLine(c *fyne.Container, x1, y1, x2, y2 int, size float32, color color.RGBA)
	func AbsCircle(c *fyne.Container, x, y, r int, color color.RGBA)
	func AbsCornerRect(c *fyne.Container, x, y, w, h int, color color.RGBA)
	func AbsRect(c *fyne.Container, x, y, w, h int, color color.RGBA)
	func AbsImage(c *fyne.Container, x, y, w, h int, name string)
	func AbsCornerImage(c *fyne.Container, x, y, w, h int, name string)

Usage

You can use this directly from the source code using standard go imports:

go get github.com/ajstarks/fc@latest

Or you can download the code directly from git:

git clone https://github.com/ajstarks/fc.git

Screenshots

The component is demonstrated in the following images: