# Canvas

Create a new empty canvas.

## Parameters

<table><thead><tr><th width="198.4826833846656">Parameter</th><th width="208.18338610093963">Type</th><th>Description</th></tr></thead><tbody><tr><td>width</td><td><code>int</code></td><td>Width of the canvas.</td></tr><tr><td>height</td><td><code>int</code></td><td>Height of the canvas.</td></tr><tr><td>fillColor</td><td><code>color.Color</code></td><td>Color of the canvas. Optional parameter, default is transparent.</td></tr></tbody></table>

## Return Values

The instance of `*imgo.Image` .

## Examples

```go
package main

import (
    "github.com/fishtailstudio/imgo"
    "image/color"
)

func main() {
    imgo.Canvas(500, 500, color.White).
        Save("out.png")
}
```
