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