cairo_pattern_create_radial()
function cairo_pattern_create_radial(float $cx0, float $cy0, float $radius0, float $cx1, float $cy1, float $radius1): mixed
Creates a radial gradient pattern between two circles.
Parameters:
$cx0(float)$cy0(float)$radius0(float)$cx1(float)$cy1(float)$radius1(float)
Returns: mixed
Availability
- Compiled (AOT): supported through the compiler-injected image prelude.
eval()(magician interpreter): not available inside eval’d code.
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how cairo_pattern_create_radial is implemented in the compiler, see the internals page.