PHP 8.4.2 Released!

UI\Draw\Stroke::__construct

(UI 0.9.9)

UI\Draw\Stroke::__constructConstruye un nuevo trazo

Descripción

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

Construirá un nuevo trazo

Parámetros

cap

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

join

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

thickness

El grosor del trazo

miterLimit

Límite de inglete (el valor por defecto es válido para todas las plataformas)

add a note

User Contributed Notes

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