nodes: 0, module; 1, function_definition; 2, function_name:add_color_stop_rgba; 3, parameters; 4, block; 5, identifier:self; 6, identifier:offset; 7, identifier:red; 8, identifier:green; 9, identifier:blue; 10, default_parameter; 11, expression_statement; 12, expression_statement; 13, expression_statement; 14, identifier:alpha; 15, integer:1; 16, comment:"""Adds a translucent color stop to a gradient pattern.
  
          The offset specifies the location along the gradient's control vector.
          For example,
          a linear gradient's control vector is from (x0,y0) to (x1,y1)
          while a radial gradient's control vector is
          from any point on the start circle
          to the corresponding point on the end circle.
  
          If two (or more) stops are specified with identical offset values,
          they will be sorted
          according to the order in which the stops are added
          (stops added earlier before stops added later).
          This can be useful for reliably making sharp color transitions
          instead of the typical blend.
  
          The color components and offset are in the range 0 to 1.
          If the values passed in are outside that range, they will be clamped.
  
          :param offset: Location along the gradient's control vector
          :param red: Red component of the color.
          :param green: Green component of the color.
          :param blue: Blue component of the color.
          :param alpha:
              Alpha component of the color.
              1 (the default) is opaque, 0 fully transparent.
          :type offset: float
          :type red: float
          :type green: float
          :type blue: float
          :type alpha: float
  
          """; 17, call; 18, call; 19, attribute; 20, argument_list; 21, attribute; 22, argument_list; 23, identifier:cairo; 24, identifier:cairo_pattern_add_color_stop_rgba; 25, attribute; 26, identifier:offset; 27, identifier:red; 28, identifier:green; 29, identifier:blue; 30, identifier:alpha; 31, identifier:self; 32, identifier:_check_status; 33, identifier:self; 34, identifier:_pointer
code: def add_color_stop_rgba(self, offset, red, green, blue, alpha=1):
          """Adds a translucent color stop to a gradient pattern.
  
          The offset specifies the location along the gradient's control vector.
          For example,
          a linear gradient's control vector is from (x0,y0) to (x1,y1)
          while a radial gradient's control vector is
          from any point on the start circle
          to the corresponding point on the end circle.
  
          If two (or more) stops are specified with identical offset values,
          they will be sorted
          according to the order in which the stops are added
          (stops added earlier before stops added later).
          This can be useful for reliably making sharp color transitions
          instead of the typical blend.
  
          The color components and offset are in the range 0 to 1.
          If the values passed in are outside that range, they will be clamped.
  
          :param offset: Location along the gradient's control vector
          :param red: Red component of the color.
          :param green: Green component of the color.
          :param blue: Blue component of the color.
          :param alpha:
              Alpha component of the color.
              1 (the default) is opaque, 0 fully transparent.
          :type offset: float
          :type red: float
          :type green: float
          :type blue: float
          :type alpha: float
  
          """
          cairo.cairo_pattern_add_color_stop_rgba(
              self._pointer, offset, red, green, blue, alpha)
          self._check_status()