gg/draw.go
2024-05-28 13:24:12 +05:00

15 lines
287 B
Go

package gg
type Drawing struct {
EVertices []EVertice
}
// The interface describes anything that can be
// drawn. It will be drew corresponding to
// the layers order so the layer must be returned.
type Drawer interface {
Draw(Context) Drawing
GetLayer() Layer
IsVisible() bool
}