Package heronarts.lx.blend
Interface LXBlend.FunctionalBlend.BlendFunction
- Enclosing class:
- LXBlend.FunctionalBlend
public static interface LXBlend.FunctionalBlend.BlendFunction
Functional interface for a static blending function
-
Method Summary
Modifier and TypeMethodDescriptionint
apply
(int dst, int src, int alpha) Blend function to combine two colors
-
Method Details
-
apply
int apply(int dst, int src, int alpha) Blend function to combine two colors- Parameters:
dst
- Background colorsrc
- Overlay coloralpha
- Secondary alpha mask (from 0x00 - 0x100)- Returns:
- Blended color
-