SpatialHoverEffectScope

@Immutable
interface SpatialHoverEffectScope

The scope of spatialHoverEffect DSL

Inheritors

Functions

Link copied to clipboard
abstract fun alpha(@FloatRange(from = 0.0, to = 1.0) alpha: Float)

Sets transparency of the view

Link copied to clipboard
abstract fun clipShape(shape: RoundedCornerShape, size: IntSize, offset: IntOffset = IntOffset.Zero)

Clip the view with given shape, size and offset

Link copied to clipboard
abstract fun offset(offset: DpOffset)
abstract fun offset(x: Dp = 0.dp, y: Dp = 0.dp)

Sets the offset of the view

Link copied to clipboard
abstract fun rotate(degree: Float, origin: TransformOrigin = TransformOrigin.Center)

Rotate the view along z-axis by given degree and origin

Link copied to clipboard
abstract fun scale(scale: Float, origin: TransformOrigin = TransformOrigin.Center)

Scale the view by given scale and origin

abstract fun scale(scaleX: Float, scaleY: Float, origin: TransformOrigin = TransformOrigin.Center)

Scale the view by given scaleX and scaleY and origin