add method

PathFigure add(
  1. PathSegment segment
)

Add a PathSegment to the #segments list. @param {PathSegment} segment a newly allocated unshared PathSegment that will become owned by this PathFigure @return {PathFigure} @since 1.5

Implementation

_i3.PathFigure add(_i3.PathSegment segment) => _i4.callMethod(
      this,
      'add',
      [segment],
    );