Package-level declarations
Functions
Adds a colored badge to the image being loaded.
Creates a PainterHint that replaces all colors in the paletteMap with their corresponding new value. It is used in IJ up to 23.3 to support patching the SVG colors for checkboxes and radio buttons.
Switches between the light and dark variants of an image based on isDark. If no dark image exists, the light image will be used.
Selects the @2x HiDPI variant for bitmap images when running on a HiDPI screen.
Creates a PainterHint that replaces colors with their corresponding new value, based on the IDs of each element. It is used in IJ 24.1 and later to support patching the SVG colors for checkboxes and radio buttons.
A PainterPathHint that will override the paths passed as keys in the overrides map with the corresponding map values.
Selects the "selected" variant of an image when selected is true. If an image does not have a selected variant, the base version will be used.
Selects a size variant for the image. If the specific size that was requested is not available, the base image will be used.
Selects a stateful variant of an image, based on the current state. Stateful variants are Focused, Pressed, Hovered, and Disabled. If an image does not have the required stateful variant, the base one will be used.
Transforms an SVG image to only draw its borders in the provided color. All fills are removed.