import { HachureFiller } from './hachure-filler'; export class HatchFiller extends HachureFiller { fillPolygon(points, o) { const set = this._fillPolygon(points, o); const o2 = Object.assign({}, o, { hachureAngle: o.hachureAngle + 90 }); const set2 = this._fillPolygon(points, o2); set.ops = set.ops.concat(set2.ops); return set; } }