Skip to content

Commit

Permalink
Clarify where soft mask applies
Browse files Browse the repository at this point in the history
  • Loading branch information
pointlessone committed Jan 16, 2024
1 parent 385116d commit c3a47a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/prawn/soft_mask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ module Prawn
# You must group soft mask and graphics it's applied to under
# save_graphics_state because soft mask is a part of graphic state in PDF.
#
# Note that soft_mask is applied only to the following content in the
# graphic state. Anything that comes before soft_mask is drawn without mask.
#
# Example:
# pdf.save_graphics_state do
# pdf.soft_mask do
Expand Down

0 comments on commit c3a47a4

Please sign in to comment.