public static SKColorFilter CreateHighContrast(bool grayscale, SKHighContrastConfigInvertStyle invertStyle, float contrast) { return(CreateHighContrast(new SKHighContrastConfig(grayscale, invertStyle, contrast))); }
public SKHighContrastConfig(bool grayscale, SKHighContrastConfigInvertStyle invertStyle, float contrast) { fGrayscale = grayscale ? (byte)1 : (byte)0; fInvertStyle = invertStyle; fContrast = contrast; }