Class: PhlexIcons::Tabler::Fence
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Tabler::Fence
show all
- Defined in:
- lib/phlex-icons/tabler/fence.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
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/phlex-icons/tabler/fence.rb', line 6
def filled
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(d: 'M19 17v3a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-3z')
s.path(d: 'M11 17v3a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-3z')
s.path(
d:
'M20 12a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1z'
)
s.path(
d:
'M8.707 3.293l2 2a1 1 0 0 1 .293 .707v5h-6v-5a1 1 0 0 1 .293 -.707l2 -2a1 1 0 0 1 1.414 0'
)
s.path(
d:
'M16.707 3.293l2 2a1 1 0 0 1 .293 .707v5h-6v-5a1 1 0 0 1 .293 -.707l2 -2a1 1 0 0 1 1.414 0'
)
end
end
|
#outline ⇒ Object
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# File 'lib/phlex-icons/tabler/fence.rb', line 30
def outline
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'none',
stroke: 'currentColor',
stroke_width: '2',
stroke_linecap: 'round',
stroke_linejoin: 'round'
) do |s|
s.path(d: 'M4 12v4h16v-4z')
s.path(d: 'M6 16v4h4v-4m0 -4v-6l-2 -2l-2 2v6')
s.path(d: 'M14 16v4h4v-4m0 -4v-6l-2 -2l-2 2v6')
end
end
|