panBy

fun panBy(    xOffset: Number,     yOffset: Number,     smooth: Boolean = false)

pans the view of the camera by the given offsets.

Parameters

xOffset

The amount to pan the view horizontally.

yOffset

The amount to pan the view vertically.

smooth

if the transition should be interpolated