pencil.js
Version:
Nice modular interactive 2D drawing library.
29 lines (28 loc) • 859 B
TypeScript
/**
* @module Pie
*/
/**
* @class
*/
export default class Pie extends Arc {
/**
* @typedef {Object} PieOptions
* @extends LineOptions
* @prop {String|ColorDefinition} [fill=null] - Color used to fill
*/
/**
* @return {PieOptions}
*/
static get defaultOptions(): any;
/**
* Pie constructor
* @param {PositionDefinition} positionDefinition - Position of the center
* @param {Number} radius - Circle radius
* @param {Number} startAngle - Angle beginning the arc
* @param {Number} endAngle - Angle ending the arc
* @param {ComponentOptions} [options] - Specific options
*/
constructor(positionDefinition: any, radius: number, startAngle: number, endAngle: number, options?: any);
}
export type PieOptions = any;
import Arc from "@pencil.js/arc";