Package: cairo
Function cairo:pattern-color-stop-rgba
Lambda Listcairo:pattern-color-stop-rgba (pattern index) ArgumentsReturn Value offset -- a number for the offset of the stop red -- a number for the red component of the color green -- a number for the green component of the color blue -- a number for the blue component of the color alpha -- a number for the alpha component of the color Details
Gets the color and offset information at the given index for a gradient
pattern. Returns nil if pattern is not a gradient pattern of if index is not valid for the given pattern. Values of index are 0 to 1 less than the number returned by the cairo:pattern-color-stop-count function. Notes | See also |
2025-1-14