import { Point } from './Point'; import { Drawable } from './Drawable'; export declare class Polygon implements Drawable { x: number; y: number; points: Array; polygonRatio: number; path: null | Path2D; color: string; constructor(x: number, y: number, points: Array); resize(x: number, y: number, polygonRatio: number): void; draw(ctx: CanvasRenderingContext2D): void; mapping(point: Point): Point; }