February 2019
Intermediate to advanced
450 pages
11h 59m
English
The canvas package includes definitions of all of the basic drawing objects that Fyne understands. Each of these types defines a number of fields that represent the configuration, such as color, size, and visibility. These are the objects that a Fyne driver will iterate over, drawing each to create the rendered user interface:
| Circle |
This is a circle, or ellipse, defined by the bounding top-left to bottom-right rectangle. It could be created with NewCircle() or &Circle{}. It isn't commonly used in most applications. |
|
Image |
An image may be a vector or bitmap-based image loaded from a file (with NewImageFromFile()) or embedded resource, or it may be an image generated dynamically to fill available space (using NewRaster() ... |
Read now
Unlock full access