Class: Bagel::Video::Overlays::Scoreboard

Inherits:
Overlay
  • Object
show all
Defined in:
lib/bagel/video/overlays/scoreboard.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/scoreboard.rb', line 11

def fade
  @fade ? Fade.new(out_start: 3, out_duration: 1.5) : nil
end

#orientationObject



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

def orientation
  Orientation::BOTTOM_LEFT
end

#paddingObject



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

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