cairoPatternGetColorStopRgba      package:RGtk2      R Documentation

_c_a_i_r_o_P_a_t_t_e_r_n_G_e_t_C_o_l_o_r_S_t_o_p_R_g_b_a

_D_e_s_c_r_i_p_t_i_o_n:

     Gets the color and offset information at the given 'index' for a
     gradient pattern.  Values of 'index' are 0 to 1 less than the
     number returned by 'cairoPatternGetColorStopCount'.

_U_s_a_g_e:

     cairoPatternGetColorStopRgba(pattern, index)

_A_r_g_u_m_e_n_t_s:

'pattern': ['CairoPattern']  a 'CairoPattern'

 'index': [integer]  index of the stop to return data for

_D_e_t_a_i_l_s:

     Since  1.4

_V_a_l_u_e:

     A list containing the following elements: 

  retval: ['CairoStatus'] 'CAIRO_STATUS_SUCCESS', or
          'CAIRO_STATUS_INVALID_INDEX' if 'index' is not valid for the
          given pattern.  If the pattern is not a gradient pattern,
          'CAIRO_STATUS_PATTERN_TYPE_MISMATCH' is returned.

'offset': [numeric]  return value for the offset of the stop, or 'NULL'

   'red': [numeric]  return value for red component of color, or 'NULL'

 'green': [numeric]  return value for green component of color, or
          'NULL'

  'blue': [numeric]  return value for blue component of color, or
          'NULL'

 'alpha': [numeric]  return value for alpha component of color, or
          'NULL'

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

