Class: PhlexIcons::Material::Functions

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/functions.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/functions.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: 'M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z')
  end
end

#outlinedObject



17
18
19
20
21
22
23
24
25
# File 'lib/phlex-icons/material/functions.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: 'M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7V4z')
  end
end

#roundObject



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

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M16.5 4H7.56C6.7 4 6 4.7 6 5.56c0 .28.12.55.32.74L12.5 12l-6.18 5.7c-.2.19-.32.46-.32.74C6 19.3 6.7 20 7.56 20h8.94c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H11l3.59-3.59c.78-.78.78-2.05 0-2.83L11 7h5.5c.83 0 1.5-.67 1.5-1.5S17.33 4 16.5 4z'
    )
  end
end

#sharpObject



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

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7V4z')
  end
end

#two_toneObject



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

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M18 17h-7l5-5-5-5h7V4H6v2l6.5 6L6 18v2h12z')
  end
end