Function

times

Returns a Size with size's Size.width and Size.height multiplied by this

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Common

Added in 1.11.0-rc01

inline operator fun Int.times(size: Size) = size * this.toFloat()

Returns a Size with size's Size.width and Size.height multiplied by this

Source set: Common

Added in 1.11.0-rc01

inline operator fun Double.times(size: Size) = size * this.toFloat()

Returns a Size with size's Size.width and Size.height multiplied by this

Source set: Common

Added in 1.11.0-rc01

inline operator fun Float.times(size: Size) = size * this

Returns a Size with size's Size.width and Size.height multiplied by this