Versions in this module Expand all Collapse all v0 v0.0.1 Jun 4, 2024 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 (c *Circle) Hide() + func (c *Circle) MinSize() fyne.Size + func (c *Circle) Move(pos fyne.Position) + func (c *Circle) Position() fyne.Position + func (c *Circle) Refresh() + func (c *Circle) Resize(size fyne.Size) + func (c *Circle) Show() + func (c *Circle) Size() fyne.Size + func (c *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) Aspect() float32 + func (i *Image) Hide() + func (i *Image) MinSize() fyne.Size + func (i *Image) Move(pos fyne.Position) + func (i *Image) Refresh() + func (i *Image) Resize(s fyne.Size) + func (o *Image) Position() fyne.Position + func (o *Image) SetMinSize(size fyne.Size) + func (o *Image) Show() + func (o *Image) Size() fyne.Size + func (o *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) Hide() + func (g *LinearGradient) Move(pos fyne.Position) + func (g *LinearGradient) Refresh() + func (o *LinearGradient) MinSize() fyne.Size + func (o *LinearGradient) Position() fyne.Position + func (o *LinearGradient) Resize(size fyne.Size) + func (o *LinearGradient) SetMinSize(size fyne.Size) + func (o *LinearGradient) Show() + func (o *LinearGradient) Size() fyne.Size + func (o *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) Hide() + func (g *RadialGradient) Move(pos fyne.Position) + func (g *RadialGradient) Refresh() + func (o *RadialGradient) MinSize() fyne.Size + func (o *RadialGradient) Position() fyne.Position + func (o *RadialGradient) Resize(size fyne.Size) + func (o *RadialGradient) SetMinSize(size fyne.Size) + func (o *RadialGradient) Show() + func (o *RadialGradient) Size() fyne.Size + func (o *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 (o *Raster) MinSize() fyne.Size + func (o *Raster) Position() fyne.Position + func (o *Raster) SetMinSize(size fyne.Size) + func (o *Raster) Show() + func (o *Raster) Size() fyne.Size + func (o *Raster) Visible() bool + func (r *Raster) Alpha() float64 + func (r *Raster) Hide() + func (r *Raster) Move(pos fyne.Position) + func (r *Raster) Refresh() + func (r *Raster) Resize(s fyne.Size) + type Rectangle struct + CornerRadius float32 + FillColor color.Color + StrokeColor color.Color + StrokeWidth float32 + func NewRectangle(color color.Color) *Rectangle + func (o *Rectangle) MinSize() fyne.Size + func (o *Rectangle) Position() fyne.Position + func (o *Rectangle) SetMinSize(size fyne.Size) + func (o *Rectangle) Show() + func (o *Rectangle) Size() fyne.Size + func (o *Rectangle) Visible() bool + func (r *Rectangle) Hide() + func (r *Rectangle) Move(pos fyne.Position) + func (r *Rectangle) Refresh() + func (r *Rectangle) Resize(s fyne.Size) + 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 (o *Text) Position() fyne.Position + func (o *Text) Show() + func (o *Text) Size() fyne.Size + func (o *Text) Visible() bool + func (t *Text) Hide() + func (t *Text) MinSize() fyne.Size + func (t *Text) Move(pos fyne.Position) + func (t *Text) Refresh() + func (t *Text) Resize(s fyne.Size) + func (t *Text) SetMinSize(fyne.Size)