-
public final class ColorOverlayExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static IntegerapplyElevationOverlayToColor(DrawContext $self, Integer color, Float elevationDp)Overlays the given color with DrawContext.elevationOverlayColor, changing the opacity of DrawContext.elevationOverlayColor depending on the value of elevationDp. -
-
Method Detail
-
applyElevationOverlayToColor
final static Integer applyElevationOverlayToColor(DrawContext $self, Integer color, Float elevationDp)
Overlays the given color with DrawContext.elevationOverlayColor, changing the opacity of DrawContext.elevationOverlayColor depending on the value of elevationDp.
-
-
-
-