Be more descriptive with what a path is
This commit is contained in:
parent
d4aac7e26c
commit
748996c789
@ -32,10 +32,10 @@ type StrokeAlign int; const (
|
||||
// have multiple pens associated with it, each maintaining their own drawing
|
||||
// state.
|
||||
type Pen interface {
|
||||
// Rectangle draws a rectangle
|
||||
// Rectangle draws a rectangle.
|
||||
Rectangle (image.Rectangle)
|
||||
|
||||
// Path draws a path
|
||||
// Path draws a path, which is a series of connected points.
|
||||
Path (points ...image.Point)
|
||||
|
||||
// StrokeWeight sets how thick the stroke is. The default value is zero.
|
||||
|
Loading…
Reference in New Issue
Block a user