# Draw Path

(PHP 7, UI 0.9.9)

## Introduction

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

## Synopsis de la classe

UI\Draw\Path {
/* Constants */
const integer Winding ;
const integer Alternate ;
/* Constructor */
public __construct ([ int `$mode` = UI\Draw\Path::Winding ] )
/* Méthodes */
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 ( void )
public end ( void )
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` )
}

## Constantes pré-définies

`UI\Draw\Path::Winding`

  This is the default draw path mode

`UI\Draw\Path::Alternate`

  This is the alternate draw path mode

## Sommaire

- 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