Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCanvas ¶
func NewCanvas() test.WindowlessCanvas
NewCanvas creates a new canvas in memory that can render without hardware support
func Render ¶
Render takes a canvas object and renders it to a regular Go image using the provided Theme. The returned image will be set to the object's minimum size. Use the theme.LightTheme() or theme.DarkTheme() to access the builtin themes.
func RenderCanvas ¶
RenderCanvas takes a canvas and renders it to a regular Go image using the provided Theme. This is the same as setting the application theme and then calling Canvas.Capture().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.