# Draw Path

(UI 0.9.9)

## Introducción

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

## Sinopsis de la Clase

class UI\Draw\Path {
/* Constantes */
const int Winding;
const int Alternate;
/* Constructor */
public __construct(int `$mode` = UI\Draw\Path::Winding)
/* Métodos */
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`
)
}

## Constantes predefinidas

`UI\Draw\Path::Winding`

  This is the default draw path mode

`UI\Draw\Path::Alternate`

  This is the alternate draw path mode

## Tabla de contenidos

- UI\Draw\Path::addRectangle — Dibuja un rectángulo
- UI\Draw\Path::arcTo — Dibuja un arco
- UI\Draw\Path::bezierTo — Draw Bezier Curve
- UI\Draw\Path::closeFigure — Cerrar Figura
- UI\Draw\Path::__construct — Construye una nueva ruta
- UI\Draw\Path::end — Finalizar Ruta
- UI\Draw\Path::lineTo — Dibuja una línea
- UI\Draw\Path::newFigure — Dibuja figura
- UI\Draw\Path::newFigureWithArc — Dibuja figura con arco