Draw Path

はじめに

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

クラス概要

UI\Draw\Path
class UI\Draw\Path {
/* 定数 */
const int UI\Draw\Path::Winding;
const int UI\Draw\Path::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

目次