withPadding

fun withPadding(left: Int, top: Int, right: Int, bottom: Int): MapSnapshotter.Options

Return

the mutated Options

Parameters

padding

of the padding of the region. This is applied before the region, if region is null, it will not work