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