PHP Conference Nagoya 2025

Draw Path

(UI 0.9.9)

Вступ

A Draw Path guides a Draw Pen, telling the Pen where to draw on an Area.

Короткий огляд класу

class UI\Draw\Path {
/* Константи */
const int Winding;
const int Alternate;
/* Constructor */
public __construct(int $mode = UI\Draw\Path::Winding)
/* Методи */
public addRectangle(UI\Point $point, UI\Size $size)
public arcTo(
    UI\Point $point,
    float $radius,
    float $angle,
    float $sweep,
    float $negative
)
public bezierTo(
    UI\Point $point,
    float $radius,
    float $angle,
    float $sweep,
    float $negative
)
public closeFigure()
public end()
public lineTo(
    UI\Point $point,
    float $radius,
    float $angle,
    float $sweep,
    float $negative
)
public newFigure(UI\Point $point)
public newFigureWithArc(
    UI\Point $point,
    float $radius,
    float $angle,
    float $sweep,
    float $negative
)
}

Попередньо визначені константи

UI\Draw\Path::Winding

This is the default draw path mode

UI\Draw\Path::Alternate

This is the alternate draw path mode

Зміст

add a note

User Contributed Notes

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