# Draw Path

(UI 0.9.9)

## Einführung

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

## Klassenbeschreibung

class UI\Draw\Path {
/* Konstanten */
const int Winding;
const int Alternate;
/* Constructor */
public function __construct(int `$mode` = UI\Draw\Path::Winding)
/* Methoden */
public function addRectangle(UI\Point `$point`, UI\Size `$size`)
public function arcTo(
UI\Point `$point`,
float `$radius`,
float `$angle`,
float `$sweep`,
float `$negative`
)
public function bezierTo(
UI\Point `$point`,
float `$radius`,
float `$angle`,
float `$sweep`,
float `$negative`
)
public function closeFigure()
public function end()
public function lineTo(
UI\Point `$point`,
float `$radius`,
float `$angle`,
float `$sweep`,
float `$negative`
)
public function newFigure(UI\Point `$point`)
public function newFigureWithArc(
UI\Point `$point`,
float `$radius`,
float `$angle`,
float `$sweep`,
float `$negative`
)
}

## Vordefinierte Konstanten

`UI\Draw\Path::Winding`

  This is the default draw path mode

`UI\Draw\Path::Alternate`

  This is the alternate draw path mode

## Inhaltsverzeichnis

- UI\Draw\Path::addRectangle — Draw a Rectangle
- UI\Draw\Path::arcTo — Draw an Arc
- UI\Draw\Path::bezierTo — Draw Bezier Curve
- UI\Draw\Path::closeFigure — Close Figure
- UI\Draw\Path::__construct — Construct a new Path
- UI\Draw\Path::end — Finalize Path
- UI\Draw\Path::lineTo — Draw a Line
- UI\Draw\Path::newFigure — Draw Figure
- UI\Draw\Path::newFigureWithArc — Draw Figure with Arc

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open