public static Bitmap GetBitmap(string svgString, int width, int height, out List <Attributes> SvgAttributes, ISvgColorMapper colorMapper = null, bool isStecil = false) { var svg = SVGParser.ParseSVGFromString(svgString, colorMapper, out SvgAttributes, isStecil); return(MakeBitmapFromSvg(svg, width, height)); }
public static Bitmap GetBitmap(string svgString, int width, int height, ISvgColorMapper colorMapper = null) { var svg = SVGParser.ParseSVGFromString(svgString, colorMapper); return(MakeBitmapFromSvg(svg, width, height)); }
public static PictureBitmapDrawable GetDrawable(string svgString, ISvgColorMapper colorMapper = null) { var svg = SVGParser.ParseSVGFromString(svgString, colorMapper); return(new PictureBitmapDrawable(svg.Picture)); }