drawRect method
Draws a Rectangle
Implementation
void drawRect(
double x,
double y,
double w,
double h,
) {
assert(() {
if (_page.pdfDocument.verbose) {
_buf.putComment('drawRect x:$x y:$y w:$w h:$h');
}
return true;
}());
PdfNumList([x, y, w, h]).output(_buf);
_buf.putString(' re\n');
}