fill_polygon/[3,4]
fill_polygon(+Drawable, +Points, +Shape) fill_polygon(+Drawable, +Gc, +Points, +Shape)
Draw a filled polygon in Drawable. Points is a list of point(
X,
Y)
terms, each specifying the location of one vertex of the polygon.
Shape is either complex
, meaning the polygon
may contain intersecting edges, nonconvex
, meaning no edges
intersect, or convex
, meaning that no edges intersect, and further,
the polygon is wholly convex.