← All docs

cairo_set_line_cap()

Selects how the ends of a stroked line are drawn.

cairo_set_line_cap()

function cairo_set_line_cap(mixed $context, int $lineCap): void

Selects how the ends of a stroked line are drawn.

Parameters:

  • $context (mixed)
  • $lineCap (int)

Returns: void

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how cairo_set_line_cap is implemented in the compiler, see the internals page.