UNPKG

konva

Version:

<p align="center"> <img src="https://raw.githubusercontent.com/konvajs/konvajs.github.io/master/apple-touch-icon-180x180.png" alt="Konva logo" height="180" /> </p>

17 lines (16 loc) 494 B
import { Shape, ShapeConfig } from '../Shape'; import { GetSet } from '../types'; export interface RingConfig extends ShapeConfig { innerRadius: number; outerRadius: number; clockwise?: boolean; } export declare class Ring extends Shape<RingConfig> { _sceneFunc(context: any): void; getWidth(): number; getHeight(): number; setWidth(width: any): void; setHeight(height: any): void; outerRadius: GetSet<number, this>; innerRadius: GetSet<number, this>; }