PaintSweepGradientFunc
Description:
[ Version ( since = "7.0.0" ) ]
public delegate void PaintSweepGradientFunc (PaintFuncs funcs, void* paint_data, ColorLine color_line, float x0, float y0, float start_angle, float end_angle)
A virtual method for the PaintFuncs to paint a sweep 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 circle's center |
| y0 |
Y coordinate of the circle's center |
| start_angle |
the start angle, in radians |
| end_angle |
the end angle, in radians |
| user_data |
User data pointer passed to set_sweep_gradient_func |