Package dev.jaxydog.astral.utility.color
Interface ColorMapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Maps a color.
- Since:
- 2.0.0
-
Method Summary
-
Method Details
-
map
Maps an RGBA color.- Parameters:
rgba- The starting color.- Returns:
- A converted color.
- Since:
- 2.0.0
-
map
default int map(int rgba) Maps an RGBA color.- Parameters:
rgba- The starting color.- Returns:
- A converted color.
- Since:
- 2.0.0
-