summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_gradient_base.eo
blob: b50d7bca1b3156526c26b8f608f99899ce73b53d (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
35
36
37
38
interface Efl.Gfx.Gradient.Base
{
   eo_prefix: efl_gfx_gradient;
   legacy_prefix: null;
   properties {
      stop {
         set {
            /*@
              Set the list of color stops for the gradient
            */
         }
         get {
            /*@
              get the list of color stops.
            */
         }
         values {
            const(Efl_Gfx_Gradient_Stop) *colors; /*@ color stops list*/
            uint length; /*@ length of the list */
         }
      }
      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 {
            Efl_Gfx_Gradient_Spread s; /*@ spread type to be used */
         }
      }
   }
}