UI\Draw\Stroke::__construct

(UI 0.9.9)

UI\Draw\Stroke::__construct — Construit un nouveau trait

Description

public function UI\Draw\Stroke::__construct(
    int $cap = UI\Draw\Line\Cap::Flat,
    int $join = UI\Draw\Line\Join::Miter,
    float $thickness = 1,
    float $miterLimit = 10
)

Construit un nouveau trait

Liste de paramètres

cap

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

join

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

thickness

L'épaisseur du trait

miterLimit

La limite de miter (la valeur par défaut est raisonnable pour toutes les plateformes supportées)

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top