import { ShapeOptions } from '../models/painter'; abstract class Shape { ctx: CanvasRenderingContext2D; config: ShapeOptions; constructor(ctx, config) { this.ctx = ctx; this.config = config; } abstract draw(): void; } export default Shape;