Package dev.jaxydog.astral.utility.color
Interface ColorBiMapper<T>
- Type Parameters:
T- The additional data type.
- 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 using additional data as context.
- Since:
- 2.0.0
-
Method Summary
-
Method Details
-
map
Maps an RGBA color.- Parameters:
rgba- The starting color.value- An additional value.- Returns:
- A converted color.
- Since:
- 2.0.0
-
map
Maps an RGBA color.- Parameters:
rgba- The starting color.value- An additional value.- Returns:
- A converted color.
- Since:
- 2.0.0
-