Function

times

times

Source set: Common
@Stable public inline operator fun Float.times(other: Dp): Dp

times

Source set: Common
public inline operator fun Double.times(other: Dp): Dp

times

Source set: Common
@Stable public inline operator fun Int.times(other: Dp): Dp

times

Source set: Common
@Stable public inline operator fun Int.times(size: DpSize): DpSize

times

Source set: Common
@Stable public inline operator fun Float.times(size: DpSize): DpSize

times

Source set: Common
@Stable public inline operator fun Int.times(size: IntSize): IntSize

Returns an IntSize with size's IntSize.width and IntSize.height multiplied by this.

times

Source set: Common
public inline operator fun Float.times(other: TextUnit): TextUnit

Multiply a TextUnit by a scalar.

This operation works only if the right operand is not equal to TextUnit.Unspecified. The result of this operation is the same unit type of the given one.

times

Source set: Common
public inline operator fun Double.times(other: TextUnit): TextUnit

Multiply a TextUnit by a scalar.

This operation works only if the right operand is not equal to TextUnit.Unspecified. The result of this operation is the same unit type of the given one.

times

Source set: Common
public inline operator fun Int.times(other: TextUnit): TextUnit

Multiply a TextUnit by a scalar.

This operation works only if the right operand is not equal to TextUnit.Unspecified. The result of this operation is the same unit type of the given one.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: