Class: PhlexIcons::Material::Hexagon

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/hexagon.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



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

def filled
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M17.2 3H6.8l-5.2 9 5.2 9h10.4l5.2-9z')
  end
end

#outlinedObject



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/phlex-icons/material/hexagon.rb', line 17

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M17.2 3H6.8l-5.2 9 5.2 9h10.4l5.2-9-5.2-9zm-1.15 16h-8.1l-4.04-7 4.04-7h8.09l4.04 7-4.03 7z'
    )
  end
end

#roundObject



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/phlex-icons/material/hexagon.rb', line 30

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M16.05 3h-8.1c-.71 0-1.37.38-1.73 1l-4.04 7c-.36.62-.36 1.38 0 2l4.04 7c.36.62 1.02 1 1.73 1h8.09c.71 0 1.37-.38 1.73-1l4.04-7c.36-.62.36-1.38 0-2l-4.04-7c-.35-.62-1.01-1-1.72-1z'
    )
  end
end

#sharpObject



43
44
45
46
47
48
49
50
51
# File 'lib/phlex-icons/material/hexagon.rb', line 43

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M17.2 3H6.8l-5.2 9 5.2 9h10.4l5.2-9z')
  end
end

#two_toneObject



53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/phlex-icons/material/hexagon.rb', line 53

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M16.05 19h-8.1l-4.04-7 4.04-7h8.1l4.04 7z', opacity: '.3')
    s.path(
      d:
        'M17.2 3H6.8l-5.2 9 5.2 9h10.4l5.2-9-5.2-9zm-1.15 16h-8.1l-4.04-7 4.04-7h8.09l4.04 7-4.03 7z'
    )
  end
end