Class ScanbotThemeKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final static <Error class: unknown class> LocalScanbotTheme
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> getLocalScanbotTheme()
      final static <Error class: unknown class> paletteColor(Function1<Palette, ScanbotColor> colorResolve)
      final static <Error class: unknown class> ,java.lang.Boolean)>alphaHideIf(<Error class: unknown class> $self, Boolean shouldHide) Turns color to transparent depending on given shouldHide to hide view.
      final static <Error class: unknown class> ,java.lang.Boolean)>alphaHideIf(<Error class: unknown class> $self, Boolean shouldHide) Turns view to transparent depending on given shouldHide to hide view.
      final static <Error class: unknown class> ,java.lang.Boolean,java.lang.Float)>alphaDimIf(<Error class: unknown class> $self, Boolean shouldDim, Float dimmedAlpha) Turns color to (partially) transparent depending on given shouldDim to hide view.
      final static <Error class: unknown class> ,java.lang.Boolean,java.lang.Float)>alphaDimIf(<Error class: unknown class> $self, Boolean shouldDim, Float dimmedAlpha) Turns view to (partially) transparent depending on given shouldDim to hide view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • alphaHideIf

         final static <Error class: unknown class> ,java.lang.Boolean)>alphaHideIf(<Error class: unknown class> $self, Boolean shouldHide)

        Turns color to transparent depending on given shouldHide to hide view. To be used when we are to keep view size.

      • alphaHideIf

         final static <Error class: unknown class> ,java.lang.Boolean)>alphaHideIf(<Error class: unknown class> $self, Boolean shouldHide)

        Turns view to transparent depending on given shouldHide to hide view. To be used when we are to keep view size.

      • alphaDimIf

         final static <Error class: unknown class> ,java.lang.Boolean,java.lang.Float)>alphaDimIf(<Error class: unknown class> $self, Boolean shouldDim, Float dimmedAlpha)

        Turns color to (partially) transparent depending on given shouldDim to hide view. To be used when we are to keep view size.

        Parameters:
        dimmedAlpha - alpha value to set when shouldDim is true
      • alphaDimIf

         final static <Error class: unknown class> ,java.lang.Boolean,java.lang.Float)>alphaDimIf(<Error class: unknown class> $self, Boolean shouldDim, Float dimmedAlpha)

        Turns view to (partially) transparent depending on given shouldDim to hide view. To be used when we are to keep view size.

        Parameters:
        dimmedAlpha - alpha value to set when shouldDim is true