source: imaps-frontend/node_modules/konva/lib/shapes/Ellipse.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 565 bytes
Line 
1import { Shape, ShapeConfig } from '../Shape.js';
2import { Context } from '../Context.js';
3import { GetSet, Vector2d } from '../types.js';
4export interface EllipseConfig extends ShapeConfig {
5 radiusX: number;
6 radiusY: number;
7}
8export declare class Ellipse extends Shape<EllipseConfig> {
9 _sceneFunc(context: Context): void;
10 getWidth(): number;
11 getHeight(): number;
12 setWidth(width: number): void;
13 setHeight(height: number): void;
14 radius: GetSet<Vector2d, this>;
15 radiusX: GetSet<number, this>;
16 radiusY: GetSet<number, this>;
17}
Note: See TracBrowser for help on using the repository browser.