Package: cairo
Function cairo-pattern-get-color-stop-rgba
Lambda Listcairo-pattern-get-color-stop-rgba (pattern index) ArgumentsReturn Value offset -- a double float with the offset of the stop red -- a double float red component of color green -- a double float green component of color blue -- a double float blue component of color alpha -- a double float alpha component of color status -- :success, or :invalid-index if index is not valid for the given pattern, if the pattern is not a gradient pattern, :pattern-type-mismatch is returned Details
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 the function cairo-pattern-get-color-stop-count. | See also |
2020-12-25