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>
17 lines (16 loc) • 508 B
TypeScript
import { Shape, ShapeConfig } from '../Shape';
import { GetSet, Vector2d } from '../types';
export interface EllipseConfig extends ShapeConfig {
radiusX: number;
radiusY: number;
}
export declare class Ellipse extends Shape<EllipseConfig> {
_sceneFunc(context: any): void;
getWidth(): number;
getHeight(): number;
setWidth(width: any): void;
setHeight(height: any): void;
radius: GetSet<Vector2d, this>;
radiusX: GetSet<number, this>;
radiusY: GetSet<number, this>;
}