summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_gradient.eo
blob: 311e873698adc53853db473a24d48ab82ba9826c (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
import efl_gfx_types;

interface Efl.Gfx.Gradient
{
   [[Efl graphics gradient interface]]
   eo_prefix: efl_gfx_gradient;
   methods {
      @property stop {
         set {
            [[Set the list of color stops for the gradient]]
         }
         get {
            [[Get the list of color stops.]]
         }
         values {
            colors: ptr(const(Efl.Gfx.Gradient_Stop)); [[Color stops list]]
            length: uint; [[Length of the list]]
         }
      }
      @property spread {
         set {
            [[Specifies the spread method that should be used for this gradient.]]
         }
         get {
            [[Returns the spread method use by this gradient. The default is
              EFL_GFX_GRADIENT_SPREAD_PAD.
            ]]
         }
         values {
            s: Efl.Gfx.Gradient_Spread; [[Spread type to be used]]
         }
      }
   }
}