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>

18 lines (17 loc) 513 B
import { Shape, ShapeConfig } from '../Shape'; import { GetSet } from '../types'; export interface WedgeConfig extends ShapeConfig { angle: number; radius: number; clockwise?: boolean; } export declare class Wedge extends Shape<WedgeConfig> { _sceneFunc(context: any): void; getWidth(): number; getHeight(): number; setWidth(width: any): void; setHeight(height: any): void; radius: GetSet<number, this>; angle: GetSet<number, this>; clockwise: GetSet<boolean, this>; }