Source set: Android
public class RemoteOffset
An immutable 2D floating-point offset that can be used to represent a point or a vector in a remote UI context.
This class is similar to androidx.compose.ui.geometry.Offset, but uses RemoteFloat for its coordinates to support remote state synchronization.
Properties
x
Source set: Android
public val x: RemoteFloat
y
Source set: Android
public val y: RemoteFloat
minDimension
Source set: Android
public val minDimension: RemoteFloat
The magnitude of the smaller of the two components, x and y.
Members
Companion
Source set: Android
public companion object
Properties
Zero
Source set: Android
public val Zero: RemoteOffset = RemoteOffset(0.rf, 0.rf)
A RemoteOffset with both x and y set to zero.