Be more descriptive with what a path is

This commit is contained in:
Sasha Koshka 2024-05-14 12:34:42 -04:00
parent d4aac7e26c
commit 748996c789

View File

@ -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.