jvm offset¶ fun offset(x: Int = 0, y: Int = 0): IntOffset Creates an IntOffset with the given x, y displacement, defaulting to zero.