Package-level declarations

Types

Link copied to clipboard
@Immutable
class DpOffset3D(val x: Dp, val y: Dp, val z: Dp)

Represents a 3D offset in Dp.

Link copied to clipboard
@Immutable
class IntOffset3D(val x: Int, val y: Int, val z: Int)

Represents a 3D offset in pixel.

Link copied to clipboard
@Stable
class NormalizedPoint3D(val x: Float, val y: Float, val z: Float)

A normalized 3D point in view's local coordinator space. For each dimension:

Link copied to clipboard
@Stable
class Rotation3D(val degree: Float, val axis: RotationAxis3D, val pivot: NormalizedPoint3D = NormalizedPoint3D.Center)

Holds the values used by 3d rotation.

Link copied to clipboard
@Stable
class RotationAxis3D(val x: Float = 0.0f, val y: Float = 0.0f, val z: Float = 0.0f)

Presents a 3d axis.

Link copied to clipboard
@Stable
class Scale3D(val scaleX: Float, val scaleY: Float, val scaleZ: Float, val pivot: NormalizedPoint3D = NormalizedPoint3D.Center)

Holds the values used to scale a 3D object.

Functions

Link copied to clipboard
fun DpOffset3D.toIntOffset3D(density: Density): IntOffset3D

Converts DpOffset3D to IntOffset3D.

Link copied to clipboard
fun DpOffset3D.toOffset3D(density: Density): Offset3D

Converts Offset3D to DpOffset3D.

Link copied to clipboard
Link copied to clipboard