GSVGPath.fromSVGPaths constructor

GSVGPath.fromSVGPaths(
  1. String svgPaths, {
  2. PColor? strokeColor,
  3. int? strokeSize,
  4. PColor? fillColor,
})

Implementation

GSVGPath.fromSVGPaths(String svgPaths,
    {this.strokeColor, this.strokeSize, this.fillColor})
    : _paths = _SVGPathOperations(svgPaths).toGPaths(
          strokeColor: strokeColor,
          strokeSize: strokeSize ?? 1,
          fillColor: fillColor);