Position Indicator Offset Calculator
A simple calculator that counts the displacement of the camera relative to the centre of the available area.
Functions
Link copied to clipboard
fun calculate(areaHeight: Float, operationalAreaPadding: CameraPadding, distanceToBottom: Int): CameraOffset
Calculates the offset from the centre of the available area.