package ru.m.puzzlez.render.mask;

import flash.display.GraphicsPathCommand;
import flash.geom.Rectangle;
import flash.Vector;
import ru.m.puzzlez.core.Part;

typedef DrawPath = {
    var commands:Vector<GraphicsPathCommand>;
    var data:Vector<Float>;
}

interface IPartMaskBuilder {
    public function build(rect:Rectangle, bound:Bounds):DrawPath;
}
