paddingTo

Returns a CameraUpdate that when animated changes the camera padding. Applied padding is going to persist and impact following camera transformations.

Specified in left, top, right, bottom order.

Return

CameraUpdate Final Camera Position

Parameters

padding

Padding to change to


fun paddingTo(left: Double, top: Double, right: Double, bottom: Double): CameraUpdate

Returns a CameraUpdate that when animated changes the camera padding. Applied padding is going to persist and impact following camera transformations.

Specified in left, top, right, bottom order.

Return

CameraUpdate Final Camera Position