Package org.pushingpixels.aurora.component.utils

Types

Link copied to clipboard
class ModelStateInfo(startModelState: ComponentState)
Link copied to clipboard
class StateContributionInfo(start: Float, end: Float)
Link copied to clipboard
class TransitionAwarePainter(iconSize: Dp, decorationAreaType: DecorationAreaType, skinColors: AuroraSkinColors, modelStateInfoSnapshot: ModelStateInfoSnapshot, paintDelegate: (drawScope: DrawScope, iconSize: Dp, colorScheme: AuroraColorScheme) -> Unit, density: Density) : Painter

Painter with transition-aware capabilities. Has a delegate that does the actual painting based on the transition color schemes.

Link copied to clipboard
abstract class TransitionAwarePainterDelegate : Painter
Link copied to clipboard
data class TransitionInfo(from: Float, to: Float, duration: Int)

Functions

Link copied to clipboard
fun StateTransitionTracker(modelStateInfo: ModelStateInfo, currentState: MutableState<ComponentState>, transitionInfo: MutableState<TransitionInfo?>, enabled: Boolean, selected: Boolean, rollover: Boolean, pressed: Boolean, duration: Int)