Point

The Point object represents a point in the two dimensional space of the Paper.js project. It is also used to represent two dimensional vector objects.

Example:

// Create a point at x: 10, y: 5
var point = new Point(10, 5);
console.log(point.x); // 10
console.log(point.y); // 5

Constructors

Operators

Properties

Functions

Distance & Length

Angle & Rotation

Tests

Vector Math Functions

Math Functions

Static Functions