vector: typo (segument -> segment) (#2860)

This commit is contained in:
Şeta Narut 2023-12-12 17:38:43 +03:00 committed by GitHub
parent 769de21ad1
commit 87c1766451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ func (p *Path) MoveTo(x, y float32) {
}) })
} }
// LineTo adds a line segument to the path, which starts from the last position of the current subpath // LineTo adds a line segment to the path, which starts from the last position of the current subpath
// and ends to the given position (x, y). // and ends to the given position (x, y).
// If p doesn't have any subpaths or the last subpath is closed, LineTo sets (x, y) as the start position of a new subpath. // If p doesn't have any subpaths or the last subpath is closed, LineTo sets (x, y) as the start position of a new subpath.
func (p *Path) LineTo(x, y float32) { func (p *Path) LineTo(x, y float32) {