subtract

@NonNull
open fun subtract(@NonNull a: @NonNull Insets, @NonNull b: @NonNull Insets): @NonNull Insets(source)

Subtract two Insets.

Return

a - b, i. e. all insets on every side are subtracted from each other.

Parameters

a

The minuend; the value from which b will be subtracted.

b

The subtrahend; the value which will be subtracted from a.