Class: PhlexIcons::Material::Flag

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/flag.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/flag.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: 'M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z')
  end
end

#outlinedObject



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/phlex-icons/material/flag.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:
        'm12.36 6 .4 2H18v6h-3.36l-.4-2H7V6h5.36M14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6L14 4z'
    )
  end
end

#roundObject



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/phlex-icons/material/flag.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:
        'm14.4 6-.24-1.2c-.09-.46-.5-.8-.98-.8H6c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1s1-.45 1-1v-6h5.6l.24 1.2c.09.47.5.8.98.8H19c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1h-4.6z'
    )
  end
end

#sharpObject



43
44
45
46
47
48
49
50
51
# File 'lib/phlex-icons/material/flag.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: 'M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6z')
  end
end

#two_toneObject



53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/phlex-icons/material/flag.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: 'M12.36 6H7v6h7.24l.4 2H18V8h-5.24z', opacity: '.3')
    s.path(
      d:
        'M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6zm3.6 8h-3.36l-.4-2H7V6h5.36l.4 2H18v6z'
    )
  end
end