Class ScanbotThemeKt
-
- All Implemented Interfaces:
public final class ScanbotThemeKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static <Error class: unknown class>
LocalScanbotTheme
-
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. -
-
Method Detail
-
getLocalScanbotTheme
final <Error class: unknown class> getLocalScanbotTheme()
-
paletteColor
final static <Error class: unknown class> paletteColor(Function1<Palette, ScanbotColor> colorResolve)
-
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
-
-
-
-