Class

DpVolumeSize

Represents the size of a volume in density-independent pixels (Dp).

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class DpVolumeSize(public val width: Dp, public val height: Dp, public val depth: Dp)

Represents the size of a volume in density-independent pixels (Dp).

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

Companion Object

Properties

Android
public val Zero: DpVolumeSize

A DpVolumeSize with all dimensions set to 0.dp.