# Documentation

### Classes

- BezierPath
- CubicBezierCurve
- drawutils
- Grid
- Line
- PBImage
- PlotBoilerplate
- Polygon
- Vector
- VEllipse
- Vertex
- VertexAttr
- VertexListeners

### Global

## BezierPath.js

A refactored BezierPath class.

BezierPath

- Version:
- 2.0.3

- Source:

## CubicBezierCurve.js

A refactored cubic bezier curve class.

CubicBezierCurve

- Version:
- 2.0.1

- Source:

### Requires

- module:Vertex

## Grid.js

A grid class with vertical and horizontal lines.

Note that the PlotBoilerplate already has a Grid instance member. The Grid is not meant
to be added to the canvas as a drawable as it encapsulates more an abstract concept of the canvas
rather than a drawable object.

### Requires

- module:Vertex

## Line.js

A line consists of two vertices a and b.

This is some refactored code from my 'Morley Triangle' test

https://github.com/IkarosKappler/morleys-trisector-theorem

This is some refactored code from my 'Morley Triangle' test

https://github.com/IkarosKappler/morleys-trisector-theorem

### Requires

- module:Vertex

## PBImage.js

A wrapper for image objects.

As native Image objects have only a position and with
and height thei are not suitable for UI dragging interfaces.

- Version:
- 1.0.1

- Source:

## PlotBoilerplate.js

The main class of the PlotBoilerplate.

PlotBoilerplate

- Version:
- 1.6.4

- Source:

### Requires

- module:Vertex,

## Polygon.js

A polygon class.

Polygon

- Version:
- 1.1.0

- Source:

### Requires

- module:Vertex

## Triangle.js

A triangle class for triangulations.
The class was written for a Delaunay trinagulation demo so it might
contain some strange and unexpected functions.

Triangle

- Version:
- 2.0.4

- Source:

### Requires

- module:Vertex

## Vector.js

A vector (Vertex,Vertex) is a line with a visible direction.

Vectors are drawn with an arrow at their end point.

Vectors are drawn with an arrow at their end point.

**The Vector class extends the Line class.**### Requires

- module:Vertex,

## VEllipse.js

An ellipse class based on two vertices [centerX,centerY] and [radiusX,radiusY].

Ellipses with a center and an x- and a y-axis (stored as a vertex).

- Version:
- 1.0.1

- Source:

### Requires

- module:Vertex

## Vertex.js

A vertex is a pair of two numbers.

It is used to identify a 2-dimensional point on the x-y-plane.

It is used to identify a 2-dimensional point on the x-y-plane.

### Requires

- module:VertexAttr

## VertexAttr.js

The VertexAttr is a helper class to wrap together additional attributes
to vertices that do not belong to the 'standard canonical' vertex implementation.

This is some sort of 'userData' object, but the constructor uses a global model to obtain a (configurable) default attribute set to all instances.

This is some sort of 'userData' object, but the constructor uses a global model to obtain a (configurable) default attribute set to all instances.

VertexAttr

- Version:
- 1.0.3

- Source:

## VertexListeners.js

An event listeners wrapper. This is just a set of three listener
queues (drag, dragStart, dragEnd) and their respective firing
functions.

VertexListeners

- Version:
- 1.0.2

- Source: