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:
751 bytes
|
Line | |
---|
1 | import { Shape, ShapeConfig } from '../Shape.js';
|
---|
2 | import { GetSet } from '../types.js';
|
---|
3 | import { Context } from '../Context.js';
|
---|
4 | export interface ArcConfig extends ShapeConfig {
|
---|
5 | angle: number;
|
---|
6 | innerRadius: number;
|
---|
7 | outerRadius: number;
|
---|
8 | clockwise?: boolean;
|
---|
9 | }
|
---|
10 | export declare class Arc extends Shape<ArcConfig> {
|
---|
11 | _sceneFunc(context: Context): void;
|
---|
12 | getWidth(): number;
|
---|
13 | getHeight(): number;
|
---|
14 | setWidth(width: number): void;
|
---|
15 | setHeight(height: number): void;
|
---|
16 | getSelfRect(): {
|
---|
17 | x: number;
|
---|
18 | y: number;
|
---|
19 | width: number;
|
---|
20 | height: number;
|
---|
21 | };
|
---|
22 | innerRadius: GetSet<number, this>;
|
---|
23 | outerRadius: GetSet<number, this>;
|
---|
24 | angle: GetSet<number, this>;
|
---|
25 | clockwise: GetSet<boolean, this>;
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.