PdfMargins.px constructor
PdfMargins.px then return in Inches
Implementation
factory PdfMargins.px(
{int top = 0, int bottom = 0, int left = 0, int right = 0}) {
return PdfMargins.inches(
top: _pxToInches(top),
bottom: _pxToInches(bottom),
left: _pxToInches(left),
right: _pxToInches(right),
);
}