Package 

Class MutableHorizontalDimensions

    • Constructor Detail

      • MutableHorizontalDimensions

        MutableHorizontalDimensions(Float xSpacing, Float scalableStartPadding, Float scalableEndPadding, Float unscalableStartPadding, Float unscalableEndPadding)
    • Method Detail

      • getXSpacing

         Float getXSpacing()

        The distance between neighboring major entries (in pixels). This can be scaled.

      • setXSpacing

         Unit setXSpacing(Float xSpacing)

        The distance between neighboring major entries (in pixels). This can be scaled.

      • getScalableStartPadding

         Float getScalableStartPadding()

        The scalable part of the distance between the start of the content area and the first entry (in pixels).

      • setScalableStartPadding

         Unit setScalableStartPadding(Float scalableStartPadding)

        The scalable part of the distance between the start of the content area and the first entry (in pixels).

      • getScalableEndPadding

         Float getScalableEndPadding()

        The scalable part of the distance between the end of the content area and the last entry (in pixels).

      • setScalableEndPadding

         Unit setScalableEndPadding(Float scalableEndPadding)

        The scalable part of the distance between the end of the content area and the last entry (in pixels).

      • getUnscalableStartPadding

         Float getUnscalableStartPadding()

        The unscalable part of the distance between the start of the content area and the first entry (in pixels).

      • setUnscalableStartPadding

         Unit setUnscalableStartPadding(Float unscalableStartPadding)

        The unscalable part of the distance between the start of the content area and the first entry (in pixels).

      • getUnscalableEndPadding

         Float getUnscalableEndPadding()

        The unscalable part of the distance between the end of the content area and the last entry (in pixels).

      • setUnscalableEndPadding

         Unit setUnscalableEndPadding(Float unscalableEndPadding)

        The unscalable part of the distance between the end of the content area and the last entry (in pixels).

      • set

        @Deprecated(message = `startPadding` and `endPadding` have been replaced by `scalableStartPadding`, `scalableEndPadding`,
                    `unscalableStartPadding`, and `unscalableEndPadding`. Use the overload with these parameters instead., replaceWith = @ReplaceWith(imports = {}, expression = set(xSpacing, startPadding, endPadding, 0f, 0f))) final MutableHorizontalDimensions set(Float xSpacing, Float startPadding, Float endPadding)

        Updates the stored values.

      • clear

         final Unit clear()

        Clears the stored values.