mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
vector: update comments
This commit is contained in:
parent
12a179aab9
commit
e3ab7b979f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user