PHP 8.4.1 Released!

Stylo de dessin

(UI 0.9.9)

Introduction

Le stylo est passé à l'événement de dessin de zone, il est utilisé pour le rognage, le remplissage, le tracé et l'écriture des chemins de dessin.

Synopsis de la classe

final class UI\Draw\Pen {
/* Méthodes */
public clip(UI\Draw\Path $path)
public fill(UI\Draw\Path $path, UI\Draw\Brush $with)
public fill(UI\Draw\Path $path, UI\Draw\Color $with)
public fill(UI\Draw\Path $path, int $with)
public restore()
public save()
public stroke(UI\Draw\Path $path, UI\Draw\Brush $with, UI\Draw\Stroke $stroke)
public stroke(UI\Draw\Path $path, UI\Draw\Color $with, UI\Draw\Stroke $stroke)
public stroke(UI\Draw\Path $path, int $with, UI\Draw\Stroke $stroke)
public transform(UI\Draw\Matrix $matrix)
public write(UI\Point $point, UI\Draw\Text\Layout $layout)
}

Sommaire

add a note

User Contributed Notes

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