source: imaps-frontend/node_modules/konva/lib/shapes/Wedge.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: 570 bytes
Line 
1import { Context } from '../Context.js';
2import { Shape, ShapeConfig } from '../Shape.js';
3import { GetSet } from '../types.js';
4export interface WedgeConfig extends ShapeConfig {
5 angle: number;
6 radius: number;
7 clockwise?: boolean;
8}
9export declare class Wedge extends Shape<WedgeConfig> {
10 _sceneFunc(context: Context): void;
11 getWidth(): number;
12 getHeight(): number;
13 setWidth(width: number): void;
14 setHeight(height: number): void;
15 radius: GetSet<number, this>;
16 angle: GetSet<number, this>;
17 clockwise: GetSet<boolean, this>;
18}
Note: See TracBrowser for help on using the repository browser.