ImageObject is a pure Go implementation of a `Drawable`
| 141 | |
| 142 | // ImageObject is a pure Go implementation of a `Drawable` |
| 143 | type ImageObject struct { |
| 144 | data *image.NRGBA |
| 145 | } |
| 146 | |
| 147 | // NewImageObject creates a new ImageObject given the image.NRGBA reference |
| 148 | func NewImageObject(img *image.NRGBA) *ImageObject { |
nothing calls this directly
no outgoing calls
no test coverage detected