Dockware AI
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Dockware AI
dockware-core
/
scanning.metrics
/
DisplayMetrics
Display
Metrics
object
DisplayMetrics
Members
Types
Dimension
Precision
Link copied to clipboard
data
class
DimensionPrecision
(
val
precision
:
Int
,
val
isWithinRange
:
Boolean
)
Properties
TAG
Link copied to clipboard
const
val
TAG
:
String
Functions
dimension
Link copied to clipboard
fun
dimension
(
value
:
Float
,
precision
:
Int
)
:
Float
dimensions
Link copied to clipboard
fun
dimensions
(
vector
:
Vector3
)
:
Vector3
dimension
String
Link copied to clipboard
fun
dimensionString
(
value
:
Float
,
precision
:
Int
)
:
String
get
Depth
Precision
Link copied to clipboard
fun
getDepthPrecision
(
value
:
Float
)
:
DisplayMetrics.DimensionPrecision
get
Height
Precision
Link copied to clipboard
fun
getHeightPrecision
(
value
:
Float
)
:
DisplayMetrics.DimensionPrecision
get
Precision
Ranges
Summary
Link copied to clipboard
fun
getPrecisionRangesSummary
(
)
:
String
get
Width
Precision
Link copied to clipboard
fun
getWidthPrecision
(
value
:
Float
)
:
DisplayMetrics.DimensionPrecision
to
Dimension
Format
Link copied to clipboard
fun
toDimensionFormat
(
dimension
:
Float
,
precision
:
Int
)
:
String
to
Dimensions
Format
Link copied to clipboard
fun
toDimensionsFormat
(
vector
:
Vector3
,
precision
:
Int
)
:
String
to
Volume
Format
Link copied to clipboard
fun
toVolumeFormat
(
volume
:
Float
)
:
String
volume
Link copied to clipboard
fun
volume
(
vector
:
Vector3
)
:
Float
volume
String
Link copied to clipboard
fun
volumeString
(
value
:
Vector3
)
:
String
within
Acceptable
Ranges
Link copied to clipboard
fun
withinAcceptableRanges
(
vector
:
Vector3
)
:
Boolean