summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_gradient.eo
blob: 81f18a15e1cec161225d5806462fe7dcd5e2f215 (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
31
32
33
34
import efl_gfx_types;

interface @beta Efl.Gfx.Gradient
{
   [[Efl graphics gradient interface]]
   c_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]]
         }
      }
   }
}