fix doc
This commit is contained in:
parent
1e22436612
commit
9a4f43d086
|
@ -191,7 +191,7 @@ func (imd *IMDraw) SetColorMask(color color.Color) {
|
||||||
//
|
//
|
||||||
// The polygon does not need to be exactly convex. The way it's drawn is that for each two adjacent
|
// The polygon does not need to be exactly convex. The way it's drawn is that for each two adjacent
|
||||||
// points, a triangle is constructed from those two points and the first Pushed point. You can use
|
// points, a triangle is constructed from those two points and the first Pushed point. You can use
|
||||||
// this property to draw specific concave graphs.
|
// this property to draw specific concave polygons.
|
||||||
func (imd *IMDraw) FillConvexPolygon() {
|
func (imd *IMDraw) FillConvexPolygon() {
|
||||||
points := imd.points
|
points := imd.points
|
||||||
imd.points = nil
|
imd.points = nil
|
||||||
|
|
Loading…
Reference in New Issue