cairo_pattern_create_linear()
function cairo_pattern_create_linear(float $x0, float $y0, float $x1, float $y1): mixed
Implemented by the compiler-injected image prelude.
Parameters:
$x0(float)$y0(float)$x1(float)$y1(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_linear is implemented in the compiler, see the internals page.