package software
import "fyne.io/fyne/v2/internal/painter/software"
Index ¶
Types ¶
type Painter ¶
type Painter struct { }
Painter is a simple software painter that can paint a canvas in memory.
func NewPainter ¶
func NewPainter() *Painter
NewPainter creates a new Painter.
func (*Painter) Paint ¶
Paint is the main entry point for a simple software painter. The canvas to be drawn is passed in as a parameter and the return is an image containing the result of rendering.
Source Files ¶
draw.go painter.go
- Version
- v2.1.2
- Published
- Dec 6, 2021
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 hour ago –
Tools for package owners.