public static IsAlphaPresent ( System.Windows.Media.PixelFormat format ) : bool | ||
format | System.Windows.Media.PixelFormat | Format to check alpha in. |
return | bool |
public static bool IsAlphaPresent(PixelFormat format)
{
return format.ToString().Contains("a", StringComparison.OrdinalIgnoreCase);
}