go-chart/imager.go

11 lines
224 B
Go
Raw Normal View History

package chart
import "image"
// Imager interface is implemented by renderers that want to expose the data
// as the image.Image interface.
type Imager interface {
// ToImage returns a image.Image
ToImage() image.Image
}