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

UI\Draw\Stroke::getCap

PHP function Edit on GitHub ✎

(UI 0.9.9)

Get Line Cap

Description

UI\Draw\Stroke::getCap(): int

Shall retrieve the line cap setting of this Stroke

Parameters Parameters

Return Values

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

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