Class: PhlexIcons::Tabler::ChartPie
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Tabler::ChartPie
show all
- Defined in:
- lib/phlex-icons/tabler/chart_pie.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
20
21
22
23
|
# File 'lib/phlex-icons/tabler/chart_pie.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:
'M9.883 2.207a1.9 1.9 0 0 1 2.087 1.522l.025 .167l.005 .104v7a1 1 0 0 0 .883 .993l.117 .007h6.8a2 2 0 0 1 2 2a1 1 0 0 1 -.026 .226a10 10 0 1 1 -12.27 -11.933l.27 -.067l.11 -.02z'
)
s.path(
d:
'M14 3.5v5.5a1 1 0 0 0 1 1h5.5a1 1 0 0 0 .943 -1.332a10 10 0 0 0 -6.11 -6.111a1 1 0 0 0 -1.333 .943z'
)
end
end
|
#outline ⇒ Object
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# File 'lib/phlex-icons/tabler/chart_pie.rb', line 25
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:
'M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8'
)
s.path(d: 'M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5')
end
end
|