From e3ab7b979f50cf640cf168801752f4e028e89cc5 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 10 May 2023 16:10:38 +0900 Subject: [PATCH] vector: update comments --- vector/util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/util.go b/vector/util.go index 0465181a8..10c1f3990 100644 --- a/vector/util.go +++ b/vector/util.go @@ -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)