DpVolumeSize
class DpVolumeSize
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.
Summary
Public companion properties |
|
|---|---|
DpVolumeSize |
A |
Public constructors |
|---|
DpVolumeSize(width: Dp, height: Dp, depth: Dp) |
Public properties |
|
|---|---|
Dp |
the size of the volume along the z dimension, in Dp. |
Dp |
the size of the volume along the y dimension, in Dp. |
Dp |
the size of the volume along the x dimension, in Dp. |