returned, [cairo.types.Status.InvalidIndex] if no custom color exists for the color index.
FontOptions.getCustomPaletteColor
cairo.types.Status getCustomPaletteColor(uint index, out double red, out double green, out double blue, out double alpha)Gets the custom palette color for the color index for the font options object.
Parameters
index | the index of the color to get |
red | return location for red component of color |
green | return location for green component of color |
blue | return location for blue component of color |
alpha | return location for alpha component of color |
Returns
[cairo.types.Status.Success] if a custom palette color is