parameters: (lottie, layer, idx)
docstring: Generates the dictionary corresponding to effects/fill.json
  
      Args:
          lottie (dict)               : Lottie format layer
          layer  (common.Layer.Layer)  : Synfig format layer
          idx    (int)                : Index/Count of effect
  
      Returns:
          (None)
docstring_summary: Generates the dictionary corresponding to effects/fill.json
docstring_tokens: Generates the dictionary corresponding to effects / fill . json
function: def gen_effects_fill(lottie, layer, idx):
      """
      Generates the dictionary corresponding to effects/fill.json
  
      Args:
          lottie (dict)               : Lottie format layer
          layer  (common.Layer.Layer)  : Synfig format layer
          idx    (int)                : Index/Count of effect
  
      Returns:
          (None)
      """
      index = Count()
      lottie["ty"] = settings.EFFECTS_FILL    # Effect type
      lottie["nm"] = "Fill"                   # Name
      lottie["ix"] = idx                      # Index
      lottie["ef"] = []                       # Effect list of properties
  
      # generating the fill mask, has no use in Synfig. But a necessity for
      # running the .json file
      lottie["ef"].append({})
      gen_effects_fillmask(lottie["ef"][-1], index.inc())
  
      # generating the all mask property as required by lottie
      lottie["ef"].append({})
      gen_effects_allmask(lottie["ef"][-1], index.inc())
  
      # generating the color property
      lottie["ef"].append({})
      gen_effects_color(lottie["ef"][-1], layer, index.inc())
  
      # generating the invert property as required by lottie
      lottie["ef"].append({})
      gen_effects_invert(lottie["ef"][-1], index.inc())
  
      # generating the horizontal feather as required by lottie
      lottie["ef"].append({})
      gen_effects_hfeather(lottie["ef"][-1], index.inc())
  
      # generating the vertical feather as required by lottie
      lottie["ef"].append({})
      gen_effects_vfeather(lottie["ef"][-1], index.inc())
  
      # generating the opacity
      lottie["ef"].append({})
      gen_effects_opacity(lottie["ef"][-1], layer, index.inc())
function_tokens: def gen_effects_fill ( lottie , layer , idx ) : index = Count ( ) lottie [ "ty" ] = settings . EFFECTS_FILL # Effect type lottie [ "nm" ] = "Fill" # Name lottie [ "ix" ] = idx # Index lottie [ "ef" ] = [ ] # Effect list of properties # generating the fill mask, has no use in Synfig. But a necessity for # running the .json file lottie [ "ef" ] . append ( { } ) gen_effects_fillmask ( lottie [ "ef" ] [ - 1 ] , index . inc ( ) ) # generating the all mask property as required by lottie lottie [ "ef" ] . append ( { } ) gen_effects_allmask ( lottie [ "ef" ] [ - 1 ] , index . inc ( ) ) # generating the color property lottie [ "ef" ] . append ( { } ) gen_effects_color ( lottie [ "ef" ] [ - 1 ] , layer , index . inc ( ) ) # generating the invert property as required by lottie lottie [ "ef" ] . append ( { } ) gen_effects_invert ( lottie [ "ef" ] [ - 1 ] , index . inc ( ) ) # generating the horizontal feather as required by lottie lottie [ "ef" ] . append ( { } ) gen_effects_hfeather ( lottie [ "ef" ] [ - 1 ] , index . inc ( ) ) # generating the vertical feather as required by lottie lottie [ "ef" ] . append ( { } ) gen_effects_vfeather ( lottie [ "ef" ] [ - 1 ] , index . inc ( ) ) # generating the opacity lottie [ "ef" ] . append ( { } ) gen_effects_opacity ( lottie [ "ef" ] [ - 1 ] , layer , index . inc ( ) )