software

package
v2.2.2-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

func (*Painter) Paint(c fyne.Canvas) image.Image

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL