Package-level declarations

Types

Link copied to clipboard

google的API大概就是这么保持一致的吧 ❤️

Link copied to clipboard
Link copied to clipboard
@Stable
interface MutableBiasAlignmentState : MutableState<BiasAlignment>
Link copied to clipboard
@Stable
interface MutableColorState : MutableState<Color>
Link copied to clipboard
@Stable
interface MutableDpOffsetState : MutableState<DpOffset>
Link copied to clipboard
@Stable
interface MutableDpSizeState : MutableState<DpSize>
Link copied to clipboard
@Stable
interface MutableDpState : MutableState<Dp>
Link copied to clipboard
@Stable
interface MutableIntOffsetState : MutableState<IntOffset>
Link copied to clipboard
@Stable
interface MutableIntSizeState : MutableState<IntSize>
Link copied to clipboard
@Stable
interface MutableOffsetState : MutableState<Offset>
Link copied to clipboard
@Stable
interface MutableSizeState : MutableState<Size>

Functions

Link copied to clipboard
fun Offset.Companion.cramerCenter(pos1: Offset, pos2: Offset, pos3: Offset, pos4: Offset): Offset
Link copied to clipboard
fun Offset.distance(other: Offset): Float
Link copied to clipboard
fun DrawTransform.flipX(pivot: Offset = center)
Link copied to clipboard
fun DrawTransform.flipY(pivot: Offset = center)
Link copied to clipboard
inline fun <T> localComposition(): ProvidableCompositionLocal<T>
fun <T> localComposition(default: () -> T): ProvidableCompositionLocal<T>
Link copied to clipboard
inline fun <T> localRefComposition(): ProvidableCompositionLocal<T>
fun <T> localRefComposition(default: () -> T): ProvidableCompositionLocal<T>
Link copied to clipboard
@JvmName(name = "movableComposable0")
fun <R> R.movableComposable(content: @Composable R.() -> Unit): @Composable R.() -> Unit
@JvmName(name = "movableComposable1")
fun <R, T1> R.movableComposable(content: @Composable R.(T1) -> Unit): @Composable R.(T1) -> Unit
@JvmName(name = "movableComposable2")
fun <R, T1, T2> R.movableComposable(content: @Composable R.(T1, T2) -> Unit): @Composable R.(T1, T2) -> Unit
@JvmName(name = "movableComposable3")
fun <R, T1, T2, T3> R.movableComposable(content: @Composable R.(T1, T2, T3) -> Unit): @Composable R.(T1, T2, T3) -> Unit
Link copied to clipboard
@StateFactoryMarker
fun mutableBiasAlignmentStateOf(value: BiasAlignment): MutableBiasAlignmentState
Link copied to clipboard
@StateFactoryMarker
fun mutableColorStateOf(value: Color): MutableColorState
Link copied to clipboard
@StateFactoryMarker
fun mutableDpOffsetStateOf(value: DpOffset): MutableDpOffsetState
Link copied to clipboard
Link copied to clipboard
@StateFactoryMarker
fun mutableDpStateOf(value: Dp): MutableDpState
Link copied to clipboard
@StateFactoryMarker
fun mutableIntOffsetStateOf(value: IntOffset): MutableIntOffsetState
Link copied to clipboard
Link copied to clipboard
@StateFactoryMarker
fun mutableOffsetStateOf(value: Offset): MutableOffsetState
Link copied to clipboard
fun <T> mutableRefStateOf(value: T): MutableState<T>
Link copied to clipboard
@StateFactoryMarker
fun mutableSizeStateOf(value: Size): MutableSizeState
Link copied to clipboard
fun Offset.onCenter(other: Offset): Offset
Link copied to clipboard
fun Offset.onLine(other: Offset, ratio: Float): Offset
Link copied to clipboard
fun Path(positions: Array<Offset>): Path
Link copied to clipboard
@Composable
inline fun rememberBiasAlignmentState(vararg keys: Any?, crossinline init: () -> BiasAlignment): MutableBiasAlignmentState
Link copied to clipboard
@Composable
inline fun rememberColorState(vararg keys: Any?, crossinline init: () -> Color): MutableColorState
Link copied to clipboard
@Composable
fun <T> rememberDerivedState(calculation: () -> T): State<T>
@Composable
fun <T> rememberDerivedState(key1: Any?, calculation: () -> T): State<T>
@Composable
fun <T> rememberDerivedState(vararg keys: Any?, calculation: () -> T): State<T>
@Composable
fun <T> rememberDerivedState(key1: Any?, key2: Any?, calculation: () -> T): State<T>
@Composable
fun <T> rememberDerivedState(key1: Any?, key2: Any?, key3: Any?, calculation: () -> T): State<T>
Link copied to clipboard
@Composable
inline fun rememberDoubleState(vararg keys: Any?, crossinline init: () -> Double): MutableDoubleState
Link copied to clipboard
@Composable
inline fun rememberDpOffsetState(vararg keys: Any?, crossinline init: () -> DpOffset): MutableDpOffsetState
Link copied to clipboard
@Composable
inline fun rememberDpSizeState(vararg keys: Any?, crossinline init: () -> DpSize): MutableDpSizeState
Link copied to clipboard
@Composable
inline fun rememberDpState(vararg keys: Any?, crossinline init: () -> Dp): MutableDpState
Link copied to clipboard
@Composable
fun rememberFalse(vararg keys: Any?): MutableState<Boolean>
Link copied to clipboard
@Composable
inline fun rememberFloatState(vararg keys: Any?, crossinline init: () -> Float): MutableFloatState
Link copied to clipboard
@Composable
inline fun rememberIntOffsetState(vararg keys: Any?, crossinline init: () -> IntOffset): MutableIntOffsetState
Link copied to clipboard
@Composable
inline fun rememberIntSizeState(vararg keys: Any?, crossinline init: () -> IntSize): MutableIntSizeState
Link copied to clipboard
@Composable
inline fun rememberIntState(vararg keys: Any?, crossinline init: () -> Int): MutableIntState
Link copied to clipboard
@Composable
inline fun rememberLongState(vararg keys: Any?, crossinline init: () -> Long): MutableLongState
Link copied to clipboard
@Composable
@JvmName(name = "rememberMovableContent0")
fun rememberMovableContent(content: @Composable () -> Unit): @Composable () -> Unit
@Composable
@JvmName(name = "rememberMovableContent1")
fun <T1> rememberMovableContent(content: @Composable (T1) -> Unit): @Composable (T1) -> Unit
@Composable
@JvmName(name = "rememberMovableContent2")
fun <T1, T2> rememberMovableContent(content: @Composable (T1, T2) -> Unit): @Composable (T1, T2) -> Unit
@Composable
@JvmName(name = "rememberMovableContent3")
fun <T1, T2, T3> rememberMovableContent(content: @Composable (T1, T2, T3) -> Unit): @Composable (T1, T2, T3) -> Unit
@Composable
@JvmName(name = "rememberMovableContent4")
fun <T1, T2, T3, T4> rememberMovableContent(content: @Composable (T1, T2, T3, T4) -> Unit): @Composable (T1, T2, T3, T4) -> Unit
Link copied to clipboard
@Composable
inline fun <T> rememberNull(vararg keys: Any?): MutableState<T?>
Link copied to clipboard
@Composable
inline fun rememberOffsetState(vararg keys: Any?, crossinline init: () -> Offset): MutableOffsetState
Link copied to clipboard
@Composable
inline fun <T> rememberRefNull(vararg keys: Any?): MutableState<T?>
Link copied to clipboard
@Composable
inline fun <T> rememberRefState(crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberRefState(key1: Any?, crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberRefState(vararg keys: Any?, crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberRefState(key1: Any?, key2: Any?, crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberRefState(key1: Any?, key2: Any?, key3: Any?, crossinline init: () -> T): MutableState<T>
Link copied to clipboard
@Composable
inline fun rememberSizeState(vararg keys: Any?, crossinline init: () -> Size): MutableSizeState
Link copied to clipboard
@Composable
inline fun <T> rememberState(crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberState(key1: Any?, crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberState(vararg keys: Any?, crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberState(key1: Any?, key2: Any?, crossinline init: () -> T): MutableState<T>
@Composable
inline fun <T> rememberState(key1: Any?, key2: Any?, key3: Any?, crossinline init: () -> T): MutableState<T>
Link copied to clipboard
@Composable
fun rememberTrue(vararg keys: Any?): MutableState<Boolean>
Link copied to clipboard
@Composable
fun rememberValueState(value: BiasAlignment, vararg keys: Any?): MutableBiasAlignmentState
@Composable
fun rememberValueState(value: Offset, vararg keys: Any?): MutableOffsetState
@Composable
fun rememberValueState(value: Size, vararg keys: Any?): MutableSizeState
@Composable
fun rememberValueState(value: Color, vararg keys: Any?): MutableColorState
@Composable
fun rememberValueState(value: Dp, vararg keys: Any?): MutableDpState
@Composable
fun rememberValueState(value: DpOffset, vararg keys: Any?): MutableDpOffsetState
@Composable
fun rememberValueState(value: DpSize, vararg keys: Any?): MutableDpSizeState
@Composable
fun rememberValueState(value: IntOffset, vararg keys: Any?): MutableIntOffsetState
@Composable
fun rememberValueState(value: IntSize, vararg keys: Any?): MutableIntSizeState
@Composable
fun rememberValueState(value: Double, vararg keys: Any?): MutableDoubleState
@Composable
fun rememberValueState(value: Float, vararg keys: Any?): MutableFloatState
@Composable
fun rememberValueState(value: Int, vararg keys: Any?): MutableIntState
@Composable
fun rememberValueState(value: Long, vararg keys: Any?): MutableLongState
Link copied to clipboard
fun Offset.roundToIntOffset(): IntOffset
Link copied to clipboard
fun Offset.scale(dx: Float = 1.0f, dy: Float = 1.0f): Offset
fun Size.scale(dx: Float = 1.0f, dy: Float = 1.0f): Size
fun DrawTransform.scale(ratio: Float, pivot: Offset = center)
Link copied to clipboard
fun Offset.slope(other: Offset): Float
Link copied to clipboard
inline fun <T> staticLocalComposition(): ProvidableCompositionLocal<T>
fun <T> staticLocalComposition(default: () -> T): ProvidableCompositionLocal<T>
Link copied to clipboard
fun <K, V> Map<K, V>.toMutableStateMap(): SnapshotStateMap<K, V>
Link copied to clipboard
fun DrawTransform.translate(offset: Offset)
fun Offset.translate(x: Float = 0.0f, y: Float = 0.0f): Offset
fun Size.translate(x: Float = 0.0f, y: Float = 0.0f): Size