summaryrefslogblamecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_gradient.eo
blob: 81f18a15e1cec161225d5806462fe7dcd5e2f215 (plain) (tree)
1
2
3
4
5
6
7
8
9

                     
                                
 
                                      
                              

                      
              
                                                            

              
                                            

                 
                                                                           
                                                
          
       
                        
              
                                                                                  

              


                                                                            

                 
                                                                  
          

       
 
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]]
         }
      }
   }
}