php8.5
Home/ Manual/ draw / stroke/ UI\Draw\Stroke::setCap

UI\Draw\Stroke::setCap

PHP function Edit on GitHub ✎

(UI 0.9.9)

Set Line Cap

Description

UI\Draw\Stroke::setCap(int $cap)

Shall set the line cap setting for this Stroke

Parameters

cap

UI\Draw\Line\Cap::Flat, UI\Draw\Line\Cap::Round, or UI\Draw\Line\Cap::Square

Source: reference/ui/ui/draw/stroke/setcap.xml · from the official PHP manual (php/doc-en)