Class: PhlexIcons::Material::Stop

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/stop.rb

Instance Attribute Summary

Attributes inherited from Base

#variant

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Methods inherited from Base

#initialize, #view_template

Constructor Details

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

Instance Method Details

#filledObject



6
7
8
9
10
11
12
13
14
# File 'lib/phlex-icons/material/stop.rb', line 6

def filled
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M6 6h12v12H6z')
  end
end

#outlinedObject



16
17
18
19
20
21
22
23
24
# File 'lib/phlex-icons/material/stop.rb', line 16

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M16 8v8H8V8h8m2-2H6v12h12V6z')
  end
end

#roundObject



26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/phlex-icons/material/stop.rb', line 26

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M8 6h8c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V8c0-1.1.9-2 2-2z'
    )
  end
end

#sharpObject



39
40
41
42
43
44
45
46
47
# File 'lib/phlex-icons/material/stop.rb', line 39

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M6 6h12v12H6V6z')
  end
end

#two_toneObject



49
50
51
52
53
54
55
56
57
58
# File 'lib/phlex-icons/material/stop.rb', line 49

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M8 8h8v8H8z', opacity: '.3')
    s.path(d: 'M6 18h12V6H6v12zM8 8h8v8H8V8z')
  end
end