Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Draw\Stroke::__constructUI\Draw\Stroke::getJoin>
^UI\Draw\StrokeLast updated: Mon, 26 Oct 2026

UI\Draw\Stroke::getCap

(UI 0.9.9)

UI\Draw\Stroke::getCap — Get Line Cap

Description

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

Shall retrieve the line cap setting of this Stroke

Parameters

This function has no parameters.

Return Values

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


<UI\Draw\Stroke::__constructUI\Draw\Stroke::getJoin>
^UI\Draw\StrokeLast updated: Mon, 26 Oct 2026