PHP 8.1.0 Beta 1 available for testing

Draw Stroke

(UI 0.9.9)

Introduction

Holds the configuration for the Pen to perform a stroke

Synopsis de la classe

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
)
/* Méthodes */
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)
}

Sommaire

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top