index of the stop to return data for
return value for the offset of the stop, or null
return value for red component of color, or null
return value for green component of color, or null
return value for blue component of color, or null
return value for alpha component of color, or null
cairo.types.Status.Success, or cairo.types.Status.InvalidIndex if index is not valid for the given pattern. If the pattern is not a gradient pattern, cairo.types.Status.PatternTypeMismatch is returned.
Gets the color and offset information at the given index for a gradient pattern. Values of index range from 0 to n-1 where n is the number returned by cairo.pattern.Pattern.getColorStopCount.
Note that the color and alpha values are not premultiplied.