main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
565 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import { Shape, ShapeConfig } from '../Shape.js';
|
---|
| 2 | import { Context } from '../Context.js';
|
---|
| 3 | import { GetSet, Vector2d } from '../types.js';
|
---|
| 4 | export interface EllipseConfig extends ShapeConfig {
|
---|
| 5 | radiusX: number;
|
---|
| 6 | radiusY: number;
|
---|
| 7 | }
|
---|
| 8 | export declare class Ellipse extends Shape<EllipseConfig> {
|
---|
| 9 | _sceneFunc(context: Context): void;
|
---|
| 10 | getWidth(): number;
|
---|
| 11 | getHeight(): number;
|
---|
| 12 | setWidth(width: number): void;
|
---|
| 13 | setHeight(height: number): void;
|
---|
| 14 | radius: GetSet<Vector2d, this>;
|
---|
| 15 | radiusX: GetSet<number, this>;
|
---|
| 16 | radiusY: GetSet<number, this>;
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.