--- layout: posts title: Api - Circle Class ---
Class for circle path, created from radius. Origin will be [0, 0].
Example:
var c = new makerjs.paths.Circle(7);
The radius of the circle.
Class for circle path, created from origin point and radius.
Example:
var c = new makerjs.paths.Circle([10, 10], 7);
The center point of the circle.
The radius of the circle.
Class for circle path, created from 2 points.
Example:
var c = new makerjs.paths.Circle([5, 15], [25, 15]);
Class for circle path, created from 3 points.
Example:
var c = new makerjs.paths.Circle([0, 0], [0, 10], [20, 0]);
First point on the circle.
Second point on the circle.
Third point on the circle.
Generated using TypeDoc
Class for circle path.