konva
Version:
HTML5 2d canvas library.
18 lines (17 loc) • 571 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 interface RingConfig extends ShapeConfig {
innerRadius: number;
outerRadius: number;
}
export declare class Ring extends Shape<RingConfig> {
_sceneFunc(context: Context): void;
getWidth(): number;
getHeight(): number;
setWidth(width: number): void;
setHeight(height: number): void;
outerRadius: GetSet<number, this>;
innerRadius: GetSet<number, this>;
}