Skip to content

Commit

Permalink
vg/vgsvg: update comment for NewWith
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Jan 23, 2019
1 parent 3ccadb7 commit 1528760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vg/vgsvg/vgsvg.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func New(w, h vg.Length) *Canvas {
}

// NewWith returns a new image canvas created according to the specified
// options. The currently accepted options are UseWH and UseDPI.
// If size or resolution are not specified, defaults are used.
// options. The currently accepted options is UseWH. If size is not
// specified, the default is used.
func NewWith(opts ...option) *Canvas {
buf := new(bytes.Buffer)
c := &Canvas{
Expand Down

0 comments on commit 1528760

Please sign in to comment.