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

interface Efl.Gfx.Gradient
{
   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: 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]]
         }
      }
   }
}