konva
Version:
HTML5 2d canvas library.
12 lines (11 loc) • 403 B
TypeScript
import type { ShapeConfig } from '../Shape.ts';
import { Shape } from '../Shape.ts';
import type { GetSet } from '../types.ts';
import type { Context } from '../Context.ts';
export type RectConfig = ShapeConfig & {
cornerRadius?: number | number[];
};
export declare class Rect extends Shape<RectConfig> {
_sceneFunc(context: Context): void;
cornerRadius: GetSet<number | number[], this>;
}