11 lines
224 B
Go
11 lines
224 B
Go
|
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
|
||
|
}
|