Uses of Class
privbot.ui.overlay.ColorRamp
Packages that use ColorRamp
Package
Description
The in-game overlay kit: HUD panels and scene drawing that work the same on every server.
-
Uses of ColorRamp in privbot.ui.overlay
Methods in privbot.ui.overlay that return ColorRampModifier and TypeMethodDescriptionstatic ColorRampAlways the same colour.static ColorRampColorRamp.of(ColorRamp.Rule rule) A ramp from any rule, e.g.static ColorRampColorRamp.percentBelow(int thresholdPercent) A vital against a percentage threshold (the eat/pray thresholds plugins configure): at or below half the threshold isOverlayTheme.BAD, at or below the thresholdOverlayTheme.WARN, above itOverlayTheme.GOOD.static ColorRampColorRamp.ticks(int urgentAt, int warnAt) A tick countdown:value <= urgentAtisOverlayTheme.BAD,<= warnAtisOverlayTheme.WARN, anything later isOverlayTheme.INFO.static ColorRampticks(int, int)with your own three colours.Methods in privbot.ui.overlay with parameters of type ColorRampModifier and TypeMethodDescriptionA tick countdown on a tile: fill fromramp, the number shadowed on top.SceneCanvas.countdown(net.runelite.api.coords.WorldPoint tile, String text, int ticksLeft, ColorRamp ramp) A countdown tile coloured byramp(ticksLeft)with customtexton top.value/maxcoloured byramp; an unknown max renders as"-".