GoLang UI\Draw\Stroke::__construct

request it (59)
GoLang replacement for PHP's UI\Draw\Stroke::__construct [edit | history]



Do you know a GoLang replacement for PHP's UI\Draw\Stroke::__construct? Write it!

PHP UI\Draw\Stroke::__construct

PHP original manual for UI\Draw\Stroke::__construct [ show | php.net ]

UI\Draw\Stroke::__construct

(PHP 7, UI 0.9.9)

UI\Draw\Stroke::__constructConstruct a new Stroke

Description

public UI\Draw\Stroke::__construct ([ 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

cap

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

join

UI\Draw\Line\Join::Miter, UI\Draw\Line\Join::Round, or UI\Draw\Line\Join::Bevel

thickness

The thickness of the stroke

miterLimit

Miter limit (default is sensible for all supported platforms)