UNPKG

konva

Version:

<p align="center"> <img src="https://konvajs.org/android-chrome-192x192.png" alt="Konva logo" height="180" /> </p>

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>; }