aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_polygon.eo
blob: 07b8956e9f98aab140609daf44f33288574673af (plain) (blame)
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 x: Evas.Coord; /*@ The X coordinate of the given point. */
            @in y: Evas.Coord; /*@ 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;
   }

}