asPath2D property

Path2D get asPath2D

Implementation

Path2D get asPath2D {
  var p = Path2D();
  p.rect(x, y, width, height);
  return p;
}