# Functions
New returns a new image canvas.
NewWith returns a new image canvas created according to the specified options.
UseBackgroundColor specifies the image background color.
UseDPI sets the dots per inch of a canvas.
UseImage specifies an image to create the canvas from.
UseImageWithContext specifies both an image and a graphic context to create the canvas from.
UseWH specifies the width and height of the canvas.
# Constants
DefaultDPI is the default dot resolution for image drawing in dots per inch.
No description provided by the author
DefaultWidth and DefaultHeight are the default canvas dimensions.
# Structs
Canvas implements the vg.Canvas interface, drawing to an image.Image using draw2d.
A JpegCanvas is an image canvas with a WriteTo method that writes a jpeg image.
A PngCanvas is an image canvas with a WriteTo method that writes a png image.
A TiffCanvas is an image canvas with a WriteTo method that writes a tiff image.