fillPath static method

String fillPath(
  1. String str
)

Given a SVG or GoJS path string, returns a congruent path string with each pathfigure filled. For instance, "M0 0 L22 22 L33 0" would become "F M0 0 L22 22 L33 0".

Implementation

static _i2.String fillPath(_i2.String str) => _i4.callMethod(
      _declaredGeometry,
      'fillPath',
      [str],
    );