common

package
v0.0.0-...-bf1bca9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(obj fyne.CanvasObject, size fyne.Size, scale float32) image.Image

Capture 对窗体的某个部分进行截图 need to import "fyne.io/fyne/v2/tools/playground"

func DecodeImage

func DecodeImage(input io.Reader) (image.Image, error)

DecodeImage img, _ := os.Open(imgpath) image, _ = DecodeImage(img)

func NumStrSlice

func NumStrSlice(i int) (s []string)

NumStrSlice []string{"1","2","3"}

func OpenWithDefaultApp

func OpenWithDefaultApp(path string)

http://www.361way.com/golang-win-process/6105.html OpenWithDefaultApp 使用操作系统默认程序打开指定的文件

func PathExists

func PathExists(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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