efl.evas.Polygon Class¶efl.evas.Polygon(Canvas canvas, points=None, **kwargs)¶Bases: efl.evas.Object
canvas (Canvas) – Evas canvas for this object
points (list of tuple of x, y int pairs) – Points of the polygon
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance
point_add¶Add a new point to the polygon
x (int) – X coordinate
y (int) – Y Coordinate
points_clear¶Remove all the points from the polygon