This commit is contained in:
faiface 2017-03-14 22:00:00 +01:00
parent 1e22436612
commit 9a4f43d086
1 changed files with 1 additions and 1 deletions

View File

@ -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