UI\Draw\Stroke
PHP Manual

UI\Draw\Stroke::setCap

(PHP 7, UI 0.9.9)

UI\Draw\Stroke::setCapSet Line Cap

说明

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

Shall set the line cap setting for this Stroke

参数

cap

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


UI\Draw\Stroke
PHP Manual