Php/docs/class.ui-draw-stroke
From Get docs
(UI 0.9.9)
Introduction
Holds the configuration for the Pen to perform a stroke
Class synopsis
UI\Draw\Stroke {
public __construct
([ int $cap
= UI\Draw\Line\Cap::Flat
[, int $join
= UI\Draw\Line\Join::Miter
[, float $thickness
= 1
[, float $miterLimit
= 10
]]]] )
/* Methods */
public getCap ( ) : int
public getJoin ( ) : int
public getMiterLimit ( ) : float
public getThickness ( ) : float
public setCap
( int $cap
)
public setJoin
( int $join
)
public setMiterLimit
( float $limit
)
public setThickness
( float $thickness
)
}
Table of Contents
- UI\Draw\Stroke::__construct — Construct a new Stroke
- UI\Draw\Stroke::getCap — Get Line Cap
- UI\Draw\Stroke::getJoin — Get Line Join
- UI\Draw\Stroke::getMiterLimit — Get Miter Limit
- UI\Draw\Stroke::getThickness — Get Thickness
- UI\Draw\Stroke::setCap — Set Line Cap
- UI\Draw\Stroke::setJoin — Set Line Join
- UI\Draw\Stroke::setMiterLimit — Set Miter Limit
- UI\Draw\Stroke::setThickness — Set Thickness
/* Constructor */