vector: update comments

This commit is contained in:
Hajime Hoshi 2023-05-10 16:10:38 +09:00
parent 12a179aab9
commit e3ab7b979f

View File

@ -55,6 +55,8 @@ func drawVerticesForUtil(dst *ebiten.Image, vs []ebiten.Vertex, is []uint16, clr
}
// StrokeLine strokes a line (x0, y0)-(x1, y1) with the specified width and color.
//
// clr has be to be a solid (non-transparent) color.
func StrokeLine(dst *ebiten.Image, x0, y0, x1, y1 float32, strokeWidth float32, clr color.Color, antialias bool) {
var path Path
path.MoveTo(x0, y0)