Class: Bagel::Video::Overlays::SecondServe

Inherits:
Overlay
  • Object
show all
Defined in:
lib/bagel/video/overlays/second_serve.rb

Instance Attribute Summary

Attributes inherited from Overlay

#asset

Instance Method Summary collapse

Methods inherited from Overlay

#initialize

Constructor Details

This class inherits a constructor from Bagel::Video::Overlays::Overlay

Instance Method Details

#fadeObject



11
12
13
# File 'lib/bagel/video/overlays/second_serve.rb', line 11

def fade
  Fade.new(out_start: 2.5, out_duration: 0.5)
end

#orientationObject



3
4
5
# File 'lib/bagel/video/overlays/second_serve.rb', line 3

def orientation
  Orientation::BOTTOM
end

#paddingObject



7
8
9
# File 'lib/bagel/video/overlays/second_serve.rb', line 7

def padding
  Padding.new(x: 50, y: 50)
end