Method: CIFilter.bars_swipe_transition

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

.bars_swipe_transition(*options) ⇒ Object

CIBarsSwipeTransition



161
162
163
164
165
166
167
168
169
170
171
172
# File 'lib/ios/sugarcube-image/cifilter.rb', line 161

def bars_swipe_transition(*options)
  return _create_filter('CIBarsSwipeTransition', options, [:target, :time],
    target: 'inputTargetImage', angle: 'inputAngle', width: 'inputWidth',
    offset: 'inputBarOffset', time: 'inputTime'
    ) do |key, value|
    if key == 'inputTargetImage'
      value.ciimage
    else
      value
    end
  end
end