Draw Path

(UI 0.9.9)

Introduction

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

Class synopsis

classUI\Draw\Path {
public__construct(int$mode = UI\Draw\Path::Winding)
publicaddRectangle(UI\Point$point, UI\Size$size)
publicarcTo(
    UI\Point$point,
    float$radius,
    float$angle,
    float$sweep,
    float$negative
)
publicbezierTo(
    UI\Point$point,
    float$radius,
    float$angle,
    float$sweep,
    float$negative
)
publiccloseFigure()
publicend()
publiclineTo(
    UI\Point$point,
    float$radius,
    float$angle,
    float$sweep,
    float$negative
)
publicnewFigure(UI\Point$point)
publicnewFigureWithArc(
    UI\Point$point,
    float$radius,
    float$angle,
    float$sweep,
    float$negative
)
}

Predefined Constants

UI\Draw\Path::Winding

This is the default draw path mode

UI\Draw\Path::Alternate

This is the alternate draw path mode

Table of Contents

To Top