DashClusterPaddingDp

class DashClusterPaddingDp(val left: Int = 0, val top: Int = 0, val right: Int = 0, val bottom: Int = DEFAULT_CLUSTER_BOTTOM_PADDING_DP)

Extra camera padding for the cluster, expressed in density-independent pixels (dp). The cluster converts these values to pixels using its own display metrics, which may differ from the head unit's. Use this instead of pixel-based padding to avoid sizing issues across displays.

Defaults match the cluster's built-in padding: bottom = 100, all other sides 0.

Constructors

Link copied to clipboard
constructor(left: Int = 0, top: Int = 0, right: Int = 0, bottom: Int = DEFAULT_CLUSTER_BOTTOM_PADDING_DP)

Properties

Link copied to clipboard
val bottom: Int
Link copied to clipboard
val left: Int = 0
Link copied to clipboard
val right: Int = 0
Link copied to clipboard
val top: Int = 0

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String