This site requires javascript.
Android Code Search
file:androidx/compose/ui/unit/IntOffset.kt function:minus
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/ui/ui-unit/src/commonMain/kotlin/androidx/compose/ui/unit/
IntOffset.kt
content_copy
Preview
70:
71:
72:
@Stable
operator
fun
minus
(other: IntOffset) =
IntOffset(
90:
91:
92:
@Stable
operator
fun
unary
Minus
() =
IntOffset(packInts(-unpackInt1(packedValue), -unpackInt2(packedValue)))
163:
164:
@Stable
operator
fun
Offset.
minus
(offset: IntOffset): Offset = Offset(x - offset.x, y - offset.y)
167:
168:
@Stable
operator
fun
IntOffset.
minus
(offset: Offset): Offset = Offset(x - offset.x, y - offset.y)
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main