appdimens-dynamic

//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.code/sdpRotate

sdpRotate

@JvmOverloadsfun Number.sdpRotate(context: Context, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.