PdfMargins.px constructor
Implementation
factory PdfMargins.px({int? top, int? bottom, int? left, int? right}) {
return PdfMargins.inches(
top: top != null ? _pxToInches(top) : null,
bottom: bottom != null ? _pxToInches(bottom) : null,
left: left != null ? _pxToInches(left) : null,
right: right != null ? _pxToInches(right) : null,
);
}