Gradient.getColorStopRGBA - multiple declarations

Function Gradient.getColorStopRGBA

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 getColorStopCount().

Prototype

void getColorStopRGBA(
  int index,
  out double offset,
  out RGBA color
);

Parameters

NameDescription
index index of the stop to return data for
offset output: Returns the offset of the color stop
color output: Returns the color of the color stop

TODO

Array/Range - like interface?

Function Gradient.getColorStopRGBA

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 getColorStopCount().

Prototype

void getColorStopRGBA(
  int index,
  out double offset,
  out RGBA color
);

Parameters

NameDescription
index index of the stop to return data for
offset output: Returns the offset of the color stop
color output: Returns the color of the color stop

TODO

Array/Range - like interface?

Function Gradient.getColorStopRGBA

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 getColorStopCount().

Prototype

void getColorStopRGBA(
  int index,
  out double offset,
  out RGBA color
);

Parameters

NameDescription
index index of the stop to return data for
offset output: Returns the offset of the color stop
color output: Returns the color of the color stop

TODO

Array/Range - like interface?

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1