public static PictureBitmapDrawable GetDrawable(TextReader reader, ISvgColorMapper colorMapper = null) { var svg = SVGParser.ParseSvgFromReader(reader, colorMapper); return(new PictureBitmapDrawable(svg.Picture)); }
public static PictureBitmapDrawable GetDrawable(Stream stream, ISvgColorMapper colorMapper = null) { var svg = SVGParser.ParseSvgFromStream(stream, colorMapper); return(new PictureBitmapDrawable(svg.Picture)); }
public static PictureBitmapDrawable GetDrawable(string svgString, ISvgColorMapper colorMapper = null) { var svg = SVGParser.ParseSVGFromString(svgString, colorMapper); return(new PictureBitmapDrawable(svg.Picture)); }