MutableHorizontalDimensions
data class MutableHorizontalDimensions(var xSpacing: Float = 0.0f, var scalableStartPadding: Float = 0.0f, var scalableEndPadding: Float = 0.0f, var unscalableStartPadding: Float = 0.0f, var unscalableEndPadding: Float = 0.0f) : HorizontalDimensions
An implementation of HorizontalDimensions whose every property is mutable.
Constructors
Properties
Link copied to clipboard
The scalable part of the distance between the end of the content area and the last entry (in pixels).
Link copied to clipboard
The scalable part of the distance between the start of the content area and the first entry (in pixels).
Link copied to clipboard
The unscalable part of the distance between the end of the content area and the last entry (in pixels).
Link copied to clipboard
The unscalable part of the distance between the start of the content area and the first entry (in pixels).
Functions
Link copied to clipboard
fun ensureValuesAtLeast(xSpacing: Float = 0.0f, scalableStartPadding: Float = 0.0f, scalableEndPadding: Float = 0.0f, unscalableStartPadding: Float = 0.0f, unscalableEndPadding: Float = 0.0f): MutableHorizontalDimensions
Ensures that the stored values are no smaller than the provided ones.
Link copied to clipboard