--- layout: posts title: Api - IPathCircle Interface ---

A circle path.

Examples:

var circle: IPathCircle = { type: 'circle', origin: [0, 0], radius: 7 };   //typescript
var circle = { type: 'circle', origin: [0, 0], radius: 7 };   //javascript

Hierarchy

Implemented by

Index

Properties

Properties

Optional layer

layer: string

Optional layer of this path.

origin

origin: IPoint

The main point of reference for this path.

radius

radius: number

The radius of the circle.

type

type: string

The type of the path, e.g. "line", "circle", or "arc". These strings are enumerated in pathType.

Generated using TypeDoc