setInsets

open fun setInsets(@IntRange(from = 0) left: Int, @IntRange(from = 0) top: Int, @IntRange(from = 0) right: Int, @IntRange(from = 0) bottom: Int)

Sets insets that will be used as padding for PdfFragment contents.

Parameters

left

The left inset in pixels.

top

The top inset in pixels.

right

The right inset in pixels.

bottom

The bottom inset in pixels.