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 Type
    Method
    Description
    int
    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 color
      src - Overlay color
      alpha - Secondary alpha mask (from 0x00 - 0x100)
      Returns:
      Blended color