code: func (c *Canvas) Pixels() []uint8 {
  	var pixels []uint8
  
  	mainthread.Call(func() {
  		tex := c.Texture()
  		tex.Begin()
  		pixels = tex.Pixels(0, 0, tex.Width(), tex.Height())
  		tex.End()
  	})
  
  	return pixels
  }
docs: // Pixels returns an alpha-premultiplied RGBA sequence of the content of the Canvas.