This repository has been archived on 2023-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
art/icon.go
Sasha Koshka 1b51937e52 Initial commit
2023-05-03 20:10:23 -04:00

14 lines
339 B
Go

package art
import "image"
import "image/color"
type Icon interface {
// Draw draws the icon to the destination canvas at the specified point,
// using the specified color (if the icon is monochrome).
Draw (destination Canvas, color color.RGBA, at image.Point)
// Bounds returns the bounds of the icon.
Bounds () image.Rectangle
}