Draw Path

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 {
/* Constants */
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

目錄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *