moveTo method

void moveTo(
  1. double x,
  2. double y
)

This moves the current drawing point.

Implementation

void moveTo(double x, double y) {
  assert(() {
    if (_page.pdfDocument.verbose) {
      _buf.putComment('moveTo x:$x y:$y');
    }
    return true;
  }());

  PdfNumList([x, y]).output(_buf);
  _buf.putString(' m\n');
}