fixed doc
This commit is contained in:
parent
35f6c274a9
commit
c50447827c
1 changed files with 1 additions and 1 deletions
2
paths.go
2
paths.go
|
@ -669,7 +669,7 @@ func (cv *Canvas) Rect(x, y, w, h float64) {
|
|||
cv.polyPath[len(cv.polyPath)-1].flags |= pathIsRect
|
||||
}
|
||||
|
||||
// Rect creates a closed rectangle path for stroking or filling
|
||||
// StrokeRect draws a rectangle using the current stroke style
|
||||
func (cv *Canvas) StrokeRect(x, y, w, h float64) {
|
||||
v0 := vec{x, y}
|
||||
v1 := vec{x + w, y}
|
||||
|
|
Loading…
Reference in a new issue