manual/graphics/soft_masks.rb in prawn-2.2.2 vs manual/graphics/soft_masks.rb in prawn-2.3.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + # Soft masks are used for more complex alpha channel manipulations. You can use # arbitrary drawing functions for creation of soft masks. The resulting alpha # channel is made of greyscale version of the drawing (luminosity channel to be # precise). So while you can use any combination of colors for soft masks it's # easier to use greyscales. Black will result in full transparency and white