summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_line.eo
blob: 5289cc4a94e1c469d4eb87c70bacb73ebb96ad93 (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
26
27
28
29
30
class Evas.Line (Evas.Object)
{
   legacy_prefix: evas_object_line;
   eo_prefix: evas_obj_line;
   methods {
      @property xy {
         set {
            /*@
            @since 1.8

            Sets the coordinates of the end points of the given evas line object. */
         }
         get {
            /*@
            Retrieves the coordinates of the end points of the given evas line object.
            second end point. */
         }
         values {
            Evas_Coord x1(0); /*@ The X coordinate of the first point. */
            Evas_Coord y1(3); /*@ The Y coordinate of the first point. */
            Evas_Coord x2; /*@ The X coordinate of the second point. */
            Evas_Coord y2; /*@ The Y coordinate of the second point. */
         }
      }
   }
   implements {
      Eo.Base.constructor;
   }

}