toMeter
Source set: Android
public inline fun Dp.toMeter(): Meter
Handles unspecified and infinite Dp values gracefully.
Returns
the equivalent value in meters, or Meter.NaN if the Dp is unspecified, or Meter.Infinity if the Dp is infinite. |
Converts a Dp value to Meter.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
public inline fun Dp.toMeter(): Meter
Handles unspecified and infinite Dp values gracefully.
the equivalent value in meters, or Meter.NaN if the Dp is unspecified, or Meter.Infinity if the Dp is infinite. |
Last updated: