PaintRadialGradientFunc
Description:
[ Version ( since = "7.0.0" ) ]
public delegate void PaintRadialGradientFunc (PaintFuncs funcs, void* paint_data, ColorLine color_line, float x0, float y0, float r0, float x1, float y1, float r1)
A virtual method for the PaintFuncs to paint a radial gradient everywhere within the current clip.
The color_line object contains information about the colors of the gradients. It is only valid for the duration of the callback,
you cannot keep it around.
The coordinates of the points are interpreted according to the current transform.
See the OpenType spec COLR section for details on
how the points define the direction of the gradient, and how to interpret the color_line.
Parameters:
| funcs |
paint functions object |
| paint_data |
The data accompanying the paint functions in paint_glyph |
| color_line |
Color information for the gradient |
| x0 |
X coordinate of the first circle's center |
| y0 |
Y coordinate of the first circle's center |
| r0 |
radius of the first circle |
| x1 |
X coordinate of the second circle's center |
| y1 |
Y coordinate of the second circle's center |
| r1 |
radius of the second circle |
| user_data |
User data pointer passed to set_radial_gradient_func |