Package heronarts.lx.effect
Interface LinearMaskEffect.MaskFunction
- Enclosing class:
LinearMaskEffect
public static interface LinearMaskEffect.MaskFunction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LinearMaskEffect.MaskFunctionstatic final LinearMaskEffect.MaskFunctionstatic final LinearMaskEffect.MaskFunction -
Method Summary
Modifier and TypeMethodDescriptionintmaskColor(int color, int alpha, int effectMask) Blends the given color
-
Field Details
-
CUE
-
FADE
-
WHITEOUT
-
-
Method Details
-
maskColor
int maskColor(int color, int alpha, int effectMask) Blends the given color- Parameters:
color- Input coloralpha- Mask level 0-255effectMask- Blend alpha 0 - LXColor.BLEND_ALPHA_FULL (0x100)- Returns:
- Masked color
-