code: public static ImageBuffer applyMask(ImageBuffer imageBuffer, ColorRgba maskColor)
      {
          return factoryGraphic.applyMask(imageBuffer, maskColor);
      }
docs: Apply color mask to the image.
  
  @param imageBuffer The image reference (must not be <code>null</code>).
  @param maskColor The color mask (must not be <code>null</code>).
  @return The masked image buffer.
  @throws LionEngineException If invalid arguments.