doodle/pkg/drawtool/shapes.go

14 lines
198 B
Go
Raw Permalink Normal View History

package drawtool
// Shape of a stroke line.
type Shape int
// Shape values.
const (
Freehand Shape = iota
Line
Rectangle
Ellipse
Eraser // not really a shape but communicates the intention
)