Class: PhlexIcons::Bootstrap::Speaker

Inherits:
Base show all
Defined in:
lib/phlex-icons/bootstrap/speaker.rb

Instance Attribute Summary

Attributes inherited from PhlexIcons::Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from PhlexIcons::Base

#initialize

Constructor Details

This class inherits a constructor from PhlexIcons::Bootstrap::Base

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/phlex-icons/bootstrap/speaker.rb', line 7

def view_template
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    fill: 'currentColor',
    viewbox: '0 0 16 16'
  ) do |s|
    s.path(
      d:
        'M12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'
    )
    s.path(
      d:
        'M8 4.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5M8 6a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-3.5 1.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0'
    )
  end
end