software

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Painter added in v1.3.0

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 added in v1.3.0

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