pencil.js
Version:
Nice modular interactive 2D drawing library.
38 lines (37 loc) • 976 B
TypeScript
/**
* ProgressPie class
* <br><img src="./media/examples/progress-pie.png" alt="progress-pie demo"/>
* @class
* @extends Input
*/
export default class ProgressPie extends Input {
/**
* ProgressPie constructor
* @param {PositionDefinition} positionDefinition - Position of the progress-pie center
* @param {ProgressPieOptions} [options] - Specific options
*/
constructor(positionDefinition: any, options?: ProgressPieOptions);
progress: Pie;
/**
* Change this size
* @param {Number} newRadius - A new size in pixels
*/
set radius(arg: number);
/**
* Return this size
* @return {Number}
*/
get radius(): number;
/**
* @type {Number}
*/
[valueKey]: number;
}
export type ProgressPieOptions = any;
import Input from "@pencil.js/input";
import Pie from "./pie";
/**
* @module ProgressPie
*/
declare const valueKey: unique symbol;
export {};