Class: PhlexIcons::Tabler::Presentation
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Tabler::Presentation
show all
- Defined in:
- lib/phlex-icons/tabler/presentation.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
16
17
18
19
|
# File 'lib/phlex-icons/tabler/presentation.rb', line 7
def filled
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M21 3a1 1 0 0 1 0 2v9a3 3 0 0 1 -3 3h-5v2h2a1 1 0 0 1 0 2h-6a1 1 0 0 1 0 -2h2v-2h-5a3 3 0 0 1 -3 -3v-9a1 1 0 1 1 0 -2zm-4.293 4.293a1 1 0 0 0 -1.414 0l-2.293 2.292l-1.293 -1.292a1 1 0 0 0 -1.414 0l-3 3a1 1 0 0 0 0 1.414l.094 .083a1 1 0 0 0 1.32 -.083l2.293 -2.292l1.293 1.292a1 1 0 0 0 1.414 0l3 -3a1 1 0 0 0 0 -1.414'
)
end
end
|
#outline ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# File 'lib/phlex-icons/tabler/presentation.rb', line 21
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: 'M3 4l18 0')
s.path(d: 'M4 4v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-10')
s.path(d: 'M12 16l0 4')
s.path(d: 'M9 20l6 0')
s.path(d: 'M8 12l3 -3l2 2l3 -3')
end
end
|