Draw Stroke

Introduction

Holds the configuration for the Pen to perform a stroke

Class synopsis

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