inset

open fun inset(dx: Float, dy: Float)

Inset the page rectangle by (dx,dy). If dx is positive, then the sides are moved inwards, making the rectangle narrower. If dx is negative, then the sides are moved outwards, making the rectangle wider. The same holds true for dy and the top and bottom.

Parameters

dx

Horizontal inset in PDF points.

dy

Vertical inset in PDF points.