PositionIndicatorOffsetCalculator

A simple calculator that counts the displacement of the camera relative to the centre of the available area.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun calculate(areaHeight: Float, operationalAreaPadding: CameraPadding, distanceToBottom: Int): CameraOffset

Calculates the offset from the centre of the available area.