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\Color::setChannelUI\Draw\Stroke::__construct>
^UILast updated: Mon, 26 Oct 2026

Draw Stroke

(UI 0.9.9)

Introduction

Holds the configuration for the Pen to perform a stroke

Class synopsis

class UI\Draw\Stroke {
/* Constructor */
public function __construct(
    int $cap = UI\Draw\Line\Cap::Flat,
    int $join = UI\Draw\Line\Join::Miter,
    float $thickness = 1,
    float $miterLimit = 10
)
/* Methods */
public function getCap(): int
public function getJoin(): int
public function getMiterLimit(): float
public function getThickness(): float
public function setCap(int $cap)
public function setJoin(int $join)
public function setMiterLimit(float $limit)
public function setThickness(float $thickness)
}

Table of Contents


<UI\Draw\Color::setChannelUI\Draw\Stroke::__construct>
^UILast updated: Mon, 26 Oct 2026