summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_shape.eo
blob: 10f55a0eefc41761f38af2b018a8832274c41500 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
import efl_gfx_types;

mixin Efl.Gfx.Shape (Efl.Gfx.Path)
{
   [[EFL graphics shape object interface]]
   methods {
      @property stroke_scale {
         [[The stroke scale to be used for stroking the path. Will be used along
           with stroke width property.

           @since 1.14
         ]]
         set {
         }
         get {
         }
         values {
            s: double; [[Stroke scale value]]
         }
      }
      @property stroke_color {
         [[The color to be used for stroking the path.

           @since 1.14
         ]]
         set {
         }
         get {
         }
         values {
            r: int; [[The red component of the given color.]]
            g: int; [[The green component of the given color.]]
            b: int; [[The blue component of the given color.]]
            a: int; [[The alpha component of the given color.]]
         }
      }
      @property stroke_width {
         [[The stroke width to be used for stroking the path.

           @since 1.14
         ]]
         set {
         }
         get {
         }
         values {
            w: double; [[Stroke width to be used]]
         }
      }
      @property stroke_location {
         [[Not implemented]]
         set {
         }
         get {
         }
         values {
            centered: double; [[Centered stroke location]]
         }
      }
      @property stroke_dash {
         [[Set stroke dash pattern. A dash pattern is specified by dashes,
           an array of @Efl.Gfx.Dash. @Efl.Gfx.Dash values(length, gap)
           must be positive.

           See also @Efl.Gfx.Dash
         ]]
         set {
         }
         get {
         }
         values {
            dash: ptr(const(Efl.Gfx.Dash)); [[Stroke dash]]
            length: uint; [[Stroke dash length]]
         }
      }
      @property stroke_cap {
         [[The cap style to be used for stroking the path.
           The cap will be used for capping the end point of a
           open subpath.

           See also @Efl.Gfx.Cap.

           @since 1.14
         ]]
         set {
         }
         get {
         }
         values {
            c: Efl.Gfx.Cap; [[Cap style to use, default is @Efl.Gfx.Cap.butt]]
         }
      }
      @property stroke_join {
         [[The join style to be used for stroking the path.
           The join style will be used for joining the two line segment
           while stroking the path.

           See also @Efl.Gfx.Join.

           @since 1.14
         ]]
         set {
         }
         get {
         }
         values {
            j: Efl.Gfx.Join; [[Join style to use, default is @Efl.Gfx.Join.miter]]
         }
      }
      @property fill_rule {
         [[The fill rule of the given shape object.
           @Efl.Gfx.Fill_Rule.winding or @Efl.Gfx.Fill_Rule.odd_even.

           @since 1.14
         ]]
         set {
         }
         get {
         }
         values {
            fill_rule: Efl.Gfx.Fill_Rule; [[The current fill rule of the shape object.
                                           One of @Efl.Gfx.Fill_Rule.winding or @Efl.Gfx.Fill_Rule.odd_even]]
         }
      }
   }
   implements {
      Efl.Gfx.Path.copy_from;
      Efl.Gfx.Path.interpolate;
   }
}