(UI 0.9.9)
UI\Draw\Stroke::setCap — 设置线帽
$cap
将为此 Stroke 设置线帽设置
cap
UI\Draw\Line\Cap::Flat、UI\Draw\Line\Cap::Round 或 UI\Draw\Line\Cap::Square