ScreenCaptureResolutionCalculator

ScreenCaptureResolutionCalculator calculates scaled resolution based on input resolution and target resolution constraint

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun alignToEven(positiveNumber: Int): Int
Link copied to clipboard
fun computeTargetSize(displayWidth: Int, displayHeight: Int, targetResolutionLong: Int, targetResolutionShort: Int): IntArray