class Context2DFactory {

    public static IContext2D create(SvgExportSettings settings){
        //choose the implementation, for now just the canvas2svg.
        return new C2SContext2D(settings.getWidth(), settings.getHeight(), settings.getContext());
    }

}