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

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant