measureWithDesiredPx

open fun measureWithDesiredPx(widthSpec: Int, heightSpec: Int, desiredWidthPx: Int, desiredHeightPx: Int, outputSize: Size)

Set the {@param outputSize} to respect both Specs and the desired width and height. The desired size is usually the necessary pixels to render the inner content.