Color returns the color of the pixel over the given position inside the Window.
(at pixel.Vec)
| 479 | |
| 480 | // Color returns the color of the pixel over the given position inside the Window. |
| 481 | func (w *Window) Color(at pixel.Vec) pixel.RGBA { |
| 482 | return w.canvas.Color(at) |
| 483 | } |
| 484 | |
| 485 | // Canvas returns the window's underlying Canvas |
| 486 | func (w *Window) Canvas() *Canvas { |