package playground
import "fyne.io/fyne/tools/playground"
Index ¶
- func NewSoftwareCanvas() test.WindowlessCanvas
- func Render(obj fyne.CanvasObject)
- func RenderCanvas(c fyne.Canvas)
- func RenderWindow(w fyne.Window)
Functions ¶
func NewSoftwareCanvas ¶
func NewSoftwareCanvas() test.WindowlessCanvas
NewSoftwareCanvas creates a new canvas in memory that can render without hardware support
func Render ¶
func Render(obj fyne.CanvasObject)
Render takes a canvasobject and converts it into an inline image for showing in the playground
func RenderCanvas ¶
RenderCanvas takes a canvas and converts it into an inline image for showing in the playground
func RenderWindow ¶
RenderWindow takes a window and converts it's canvas into an inline image for showing in the playground
Source Files ¶
playground.go softwarecanvas.go
- Version
- v1.2.4
- Published
- Apr 13, 2020
- Platform
- windows/amd64
- Imports
- 10 packages
- Last checked
- 12 minutes ago –
Tools for package owners.