Method: CIFilter.blend_with_mask

Defined in:
lib/ios/sugarcube-image/cifilter.rb

.blend_with_mask(*options) ⇒ Object

CIBlendWithMask



175
176
177
178
179
180
# File 'lib/ios/sugarcube-image/cifilter.rb', line 175

def blend_with_mask(*options)
  return _create_filter('CIBlendWithMask', options, [:background, :mask], background: 'inputBackgroundImage', mask: 'inputMaskImage'
    ) do |key, value|
    value.ciimage
  end
end