Class: PhlexIcons::Material::Try

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

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from PhlexIcons::Base

Instance Method Details

#filledObject



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/phlex-icons/material/try.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:
        'M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6.43 9.57L12 15l-1.57-3.43L7 10l3.43-1.57L12 5l1.57 3.43L17 10l-3.43 1.57z'
    )
  end
end

#outlinedObject



20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/phlex-icons/material/try.rb', line 20

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12z'
    )
    s.path(d: 'm12 15 1.57-3.43L17 10l-3.43-1.57L12 5l-1.57 3.43L7 10l3.43 1.57z')
  end
end

#roundObject



34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/phlex-icons/material/try.rb', line 34

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M20 2H4c-1.1 0-2 .9-2 2v15.59c0 .89 1.08 1.34 1.71.71L6 18h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6.43 9.57-1.12 2.44a.5.5 0 0 1-.91 0l-1.12-2.44-2.44-1.12a.5.5 0 0 1 0-.91l2.44-1.12 1.12-2.44a.5.5 0 0 1 .91 0l1.12 2.44 2.44 1.12a.5.5 0 0 1 0 .91l-2.44 1.12z'
    )
  end
end

#sharpObject



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

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M22 2H2v20l4-4h16V2zm-8.43 9.57L12 15l-1.57-3.43L7 10l3.43-1.57L12 5l1.57 3.43L17 10l-3.43 1.57z'
    )
  end
end

#two_toneObject



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/phlex-icons/material/try.rb', line 60

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M4 17.17 5.17 16H20V4H4v13.17zm6.43-8.74L12 5l1.57 3.43L17 10l-3.43 1.57L12 15l-1.57-3.43L7 10l3.43-1.57z',
      opacity: '.3'
    )
    s.path(
      d:
        'M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12z'
    )
    s.path(d: 'm12 15 1.57-3.43L17 10l-3.43-1.57L12 5l-1.57 3.43L7 10l3.43 1.57z')
  end
end