tool

package
Version: v0.0.0-...-8e75820 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: BSD-3-Clause Imports: 91 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Formulea  = `` /* 183-byte string literal not displayed */
	Formuleas = strings.Split(Formulea, ",")
)
View Source
var Version string

Version indicates the current build version.

Functions

func Exists

func Exists(path string) bool

判断所给路径文件/文件夹是否存在

func IsAudio

func IsAudio(path string) bool

IsAudio 是否是音频文件

func IsVideo

func IsVideo(path string) bool

IsVideo 是否是视频文件

func NumSlice

func NumSlice(n int) (result []string)

func SetObjs

func SetObjs(c *fyne.Container, objs ...fyne.CanvasObject)

func Tool

func Tool() fyne.CanvasObject

Types

type DominantColor

type DominantColor struct {
	Window fyne.Window
	Image  *canvas.Image
	List   *widget.List
	Colors []color.RGBA
}

https://hub.fastgit.xyz/stuartmscott/dominantcolor

func (*DominantColor) Open

func (dc *DominantColor) Open(name string, reader io.ReadCloser)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL