Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WindowlessCanvas ¶ added in v2.8.0
type WindowlessCanvas interface {
fyne.Canvas
Padded() bool
Resize(fyne.Size)
SetPadded(bool)
SetScale(float32)
}
WindowlessCanvas provides functionality for a canvas to operate without a window
Since: 2.9
func NewCanvas ¶
func NewCanvas() WindowlessCanvas
NewCanvas creates a new canvas in memory that can render without hardware support.
func NewCanvasWithPainter ¶ added in v2.8.0
func NewCanvasWithPainter(painter driver.Painter) WindowlessCanvas
NewCanvasWithPainter creates a new canvas in memory that can render without hardware support which uses the given driver.Painter for #Capture().
Since: 2.8
func NewTransparentCanvas ¶ added in v2.2.0
func NewTransparentCanvas() WindowlessCanvas
NewTransparentCanvas creates a new canvas in memory that can render without hardware support without a background color.
Since: 2.2
func NewTransparentCanvasWithPainter ¶ added in v2.8.0
func NewTransparentCanvasWithPainter(painter driver.Painter) WindowlessCanvas
NewTransparentCanvasWithPainter creates a new canvas in memory that can render without hardware support which uses the given driver.Painter for #Capture() without a background color.
Since: 2.8