Class

IntVolumeSize

Represents the size of a volume in pixels.

Source set: Android
public class IntVolumeSize(public val width: Int, public val height: Int, public val depth: Int)

Represents the size of a volume in pixels.

This class provides a convenient way to store and manipulate the width, height, and depth of a 3D volume in pixels. It also provides methods to convert to and from FloatSize3d in meters.

Note: As with all Int values in Compose XR, the values in this class represent pixels.

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Contains common constants and factory methods for creating IntVolumeSize objects

Properties

Zero

Source set: Android
public val Zero: IntVolumeSize = IntVolumeSize(0, 0, 0)

An IntVolumeSize with all dimensions set to 0.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: