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