mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +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.
|
// 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) {
|
func StrokeLine(dst *ebiten.Image, x0, y0, x1, y1 float32, strokeWidth float32, clr color.Color, antialias bool) {
|
||||||
var path Path
|
var path Path
|
||||||
path.MoveTo(x0, y0)
|
path.MoveTo(x0, y0)
|
||||||
|
Loading…
Reference in New Issue
Block a user