类型 StatusIcon

API 文档由 Go 源码生成,内容为英文。

type StatusIcon struct {
	// Size is the width and height in pixels. 32 or more keeps it sharp on the
	// densest bars; the platform scales it to the size its bar draws.
	Size int
	// RGBA is Size*Size straight (not premultiplied) 8-bit pixels, top row
	// first.
	RGBA []byte
	// Template marks a shape that only has an alpha channel to say: the
	// platform colors it to suit the bar, light on dark and dark on light.
	Template bool
}

StatusIcon is a square image for the system's status area.