package
0.7.2
Repository: https://github.com/beta/canvas.git
Documentation: pkg.go.dev

# Functions

New returns a new canvas backend.
NewGLContext creates all the necessary GL resources, like shaders and buffers.
NewOffscreen returns a new offscreen canvas backend.

# Structs

GLContext is a context that contains all the shaders and buffers necessary for rendering.
GoGLBackend is a canvas backend using Go-GL.
GoGLBackendOffscreen is a canvas backend using an offscreen texture.
Image represents a loaded image that can be used in various drawing functions.
No description provided by the author
LinearGradient is a gradient with any number of stops and any number of colors.
RadialGradient is a gradient with any number of stops and any number of colors.