Class: PhlexIcons::Material::Download

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/download.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/download.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: 'M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z')
  end
end

#outlinedObject



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/phlex-icons/material/download.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:
        'M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z'
    )
  end
end

#roundObject



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/phlex-icons/material/download.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.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71zM5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1z'
    )
  end
end

#sharpObject



43
44
45
46
47
48
49
50
51
# File 'lib/phlex-icons/material/download.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: 'M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z')
  end
end

#two_toneObject



53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/phlex-icons/material/download.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: 'M13 9V5h-2v6H9.83L12 13.17 14.17 11H13z', opacity: '.3')
    s.path(
      d:
        'M15 9V3H9v6H5l7 7 7-7h-4zm-3 4.17L9.83 11H11V5h2v6h1.17L12 13.17zM5 18h14v2H5z'
    )
  end
end