Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2022 Changes in this version + const DurationShort + const DurationStandard + func NewColorRGBAAnimation(start, stop color.Color, d time.Duration, fn func(color.Color)) *fyne.Animation + func NewPositionAnimation(start, stop fyne.Position, d time.Duration, fn func(fyne.Position)) *fyne.Animation + func NewSizeAnimation(start, stop fyne.Size, d time.Duration, fn func(fyne.Size)) *fyne.Animation + func Refresh(obj fyne.CanvasObject) + type Circle struct + FillColor color.Color + Hidden bool + Position1 fyne.Position + Position2 fyne.Position + StrokeColor color.Color + StrokeWidth float32 + func NewCircle(color color.Color) *Circle + func (l *Circle) Hide() + func (l *Circle) MinSize() fyne.Size + func (l *Circle) Move(pos fyne.Position) + func (l *Circle) Position() fyne.Position + func (l *Circle) Refresh() + func (l *Circle) Resize(size fyne.Size) + func (l *Circle) Show() + func (l *Circle) Size() fyne.Size + func (l *Circle) Visible() bool + type Image struct + File string + FillMode ImageFill + Image image.Image + Resource fyne.Resource + ScaleMode ImageScale + Translucency float64 + func NewImageFromFile(file string) *Image + func NewImageFromImage(img image.Image) *Image + func NewImageFromReader(read io.Reader, name string) *Image + func NewImageFromResource(res fyne.Resource) *Image + func NewImageFromURI(uri fyne.URI) *Image + func (i *Image) Alpha() float64 + func (i *Image) Refresh() + func (i *Image) Resize(s fyne.Size) + func (r *Image) Hide() + func (r *Image) MinSize() fyne.Size + func (r *Image) Move(pos fyne.Position) + func (r *Image) Position() fyne.Position + func (r *Image) SetMinSize(size fyne.Size) + func (r *Image) Show() + func (r *Image) Size() fyne.Size + func (r *Image) Visible() bool + type ImageFill int + const ImageFillContain + const ImageFillOriginal + const ImageFillStretch + type ImageScale int32 + const ImageScaleFastest + const ImageScalePixels + const ImageScaleSmooth + type Line struct + Hidden bool + Position1 fyne.Position + Position2 fyne.Position + StrokeColor color.Color + StrokeWidth float32 + func NewLine(color color.Color) *Line + func (l *Line) Hide() + func (l *Line) MinSize() fyne.Size + func (l *Line) Move(pos fyne.Position) + func (l *Line) Position() fyne.Position + func (l *Line) Refresh() + func (l *Line) Resize(size fyne.Size) + func (l *Line) Show() + func (l *Line) Size() fyne.Size + func (l *Line) Visible() bool + type LinearGradient struct + Angle float64 + EndColor color.Color + StartColor color.Color + func NewHorizontalGradient(start, end color.Color) *LinearGradient + func NewLinearGradient(start, end color.Color, angle float64) *LinearGradient + func NewVerticalGradient(start color.Color, end color.Color) *LinearGradient + func (g *LinearGradient) Generate(iw, ih int) image.Image + func (g *LinearGradient) Refresh() + func (r *LinearGradient) Hide() + func (r *LinearGradient) MinSize() fyne.Size + func (r *LinearGradient) Move(pos fyne.Position) + func (r *LinearGradient) Position() fyne.Position + func (r *LinearGradient) Resize(size fyne.Size) + func (r *LinearGradient) SetMinSize(size fyne.Size) + func (r *LinearGradient) Show() + func (r *LinearGradient) Size() fyne.Size + func (r *LinearGradient) Visible() bool + type RadialGradient struct + CenterOffsetX float64 + CenterOffsetY float64 + EndColor color.Color + StartColor color.Color + func NewRadialGradient(start, end color.Color) *RadialGradient + func (g *RadialGradient) Generate(iw, ih int) image.Image + func (g *RadialGradient) Refresh() + func (r *RadialGradient) Hide() + func (r *RadialGradient) MinSize() fyne.Size + func (r *RadialGradient) Move(pos fyne.Position) + func (r *RadialGradient) Position() fyne.Position + func (r *RadialGradient) Resize(size fyne.Size) + func (r *RadialGradient) SetMinSize(size fyne.Size) + func (r *RadialGradient) Show() + func (r *RadialGradient) Size() fyne.Size + func (r *RadialGradient) Visible() bool + type Raster struct + Generator func(w, h int) image.Image + ScaleMode ImageScale + Translucency float64 + func NewRaster(generate func(w, h int) image.Image) *Raster + func NewRasterFromImage(img image.Image) *Raster + func NewRasterWithPixels(pixelColor func(x, y, w, h int) color.Color) *Raster + func (r *Raster) Alpha() float64 + func (r *Raster) Hide() + func (r *Raster) MinSize() fyne.Size + func (r *Raster) Move(pos fyne.Position) + func (r *Raster) Position() fyne.Position + func (r *Raster) Refresh() + func (r *Raster) Resize(s fyne.Size) + func (r *Raster) SetMinSize(size fyne.Size) + func (r *Raster) Show() + func (r *Raster) Size() fyne.Size + func (r *Raster) Visible() bool + type Rectangle struct + FillColor color.Color + StrokeColor color.Color + StrokeWidth float32 + func NewRectangle(color color.Color) *Rectangle + func (r *Rectangle) Hide() + func (r *Rectangle) MinSize() fyne.Size + func (r *Rectangle) Move(pos fyne.Position) + func (r *Rectangle) Position() fyne.Position + func (r *Rectangle) Refresh() + func (r *Rectangle) Resize(s fyne.Size) + func (r *Rectangle) SetMinSize(size fyne.Size) + func (r *Rectangle) Show() + func (r *Rectangle) Size() fyne.Size + func (r *Rectangle) Visible() bool + type Text struct + Alignment fyne.TextAlign + Color color.Color + Text string + TextSize float32 + TextStyle fyne.TextStyle + func NewText(text string, color color.Color) *Text + func (r *Text) Hide() + func (r *Text) Move(pos fyne.Position) + func (r *Text) Position() fyne.Position + func (r *Text) Resize(size fyne.Size) + func (r *Text) Show() + func (r *Text) Size() fyne.Size + func (r *Text) Visible() bool + func (t *Text) MinSize() fyne.Size + func (t *Text) Refresh() + func (t *Text) SetMinSize(size fyne.Size)