summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_polygon.eo
blob: 5968f89a636aa9da10e3a6bf0cc2521b8dffc1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class Evas.Polygon (Evas_Object)
{
   legacy_prefix: evas_object_polygon;
   eo_prefix: evas_obj_polygon;
   methods {
      point_add {
         /*@
         Adds the given point to the given evas polygon object.
         @ingroup Evas_Polygon_Group */
         params {
            @in Evas_Coord x; /*@ The X coordinate of the given point. */
            @in Evas_Coord y; /*@ The Y coordinate of the given point. */
         }
      }
      points_clear {
         /*@
         Removes all of the points from the given evas polygon object. */
      }
   }
   implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
   }

}