function drawRectangle(point: Vector, width: number, height: number) { this.context.beginPath(); this.context.rect(point.x, point.y, width, height); this.context.fill(); this.context.stroke(); }