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>

10 lines (9 loc) 315 B
import { Shape, ShapeConfig } from '../Shape'; import { GetSet } from '../types'; export interface RectConfig extends ShapeConfig { cornerRadius?: number | number[]; } export declare class Rect extends Shape<RectConfig> { _sceneFunc(context: any): void; cornerRadius: GetSet<number | number[], this>; }