UI\Draw\Stroke::__construct
(UI 0.9.9)
UI\Draw\Stroke::__construct — Construct a new Stroke
Description
public UI\Draw\Stroke::__construct(
int
int
float
float
)
int
$cap = UI\Draw\Line\Cap::Flat,int
$join = UI\Draw\Line\Join::Miter,float
$thickness = 1,float
$miterLimit = 10)
Shall construct a new Stroke
Parameters
capUI\Draw\Line\Cap::Flat, UI\Draw\Line\Cap::Round, or UI\Draw\Line\Cap::Square
joinUI\Draw\Line\Join::Miter, UI\Draw\Line\Join::Round, or UI\Draw\Line\Join::Bevel
thicknessThe thickness of the stroke
miterLimitMiter limit (default is sensible for all supported platforms)
↑ and ↓ to navigate • Enter to select • Esc to close • / to open