Class: PhlexIcons::Material::Category

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/category.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
16
17
# File 'lib/phlex-icons/material/category.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: 'm12 2-5.5 9h11z')
    s.circle(cx: '17.5', cy: '17.5', r: '4.5')
    s.path(d: 'M3 13.5h8v8H3z')
  end
end

#outlinedObject



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

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'm12 2-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z'
    )
  end
end

#roundObject



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/phlex-icons/material/category.rb', line 32

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M11.15 3.4 7.43 9.48c-.41.66.07 1.52.85 1.52h7.43c.78 0 1.26-.86.85-1.52L12.85 3.4a.993.993 0 0 0-1.7 0z'
    )
    s.circle(cx: '17.5', cy: '17.5', r: '4.5')
    s.path(
      d:
        'M4 21.5h6c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1z'
    )
  end
end

#sharpObject



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

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'm12 2-5.5 9h11z')
    s.circle(cx: '17.5', cy: '17.5', r: '4.5')
    s.path(d: 'M3 13.5h8v8H3z')
  end
end

#two_toneObject



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

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.circle(cx: '17.5', cy: '17.5', r: '2.5', opacity: '.3')
    s.path(d: 'M5 15.5h4v4H5zm7-9.66L10.07 9h3.86z', opacity: '.3')
    s.path(
      d:
        'm12 2-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5zM11 13.5H3v8h8v-8zm-2 6H5v-4h4v4z'
    )
  end
end