Class: PhlexIcons::Material::Flag
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Material::Flag
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
Instance Method Details
#filled ⇒ Object
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
|
#outlined ⇒ Object
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
|
#round ⇒ Object
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
|
#sharp ⇒ Object
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_tone ⇒ Object
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
|