18 lines
513 B
TypeScript
18 lines
513 B
TypeScript
import { Shape, ShapeConfig } from '../Shape';
|
|
import { GetSet } from '../types';
|
|
export interface WedgeConfig extends ShapeConfig {
|
|
angle: number;
|
|
radius: number;
|
|
clockwise?: boolean;
|
|
}
|
|
export declare class Wedge extends Shape<WedgeConfig> {
|
|
_sceneFunc(context: any): void;
|
|
getWidth(): number;
|
|
getHeight(): number;
|
|
setWidth(width: any): void;
|
|
setHeight(height: any): void;
|
|
radius: GetSet<number, this>;
|
|
angle: GetSet<number, this>;
|
|
clockwise: GetSet<boolean, this>;
|
|
}
|