UNPKG

konva

Version:

HTML5 2d canvas library.

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