Class: PhlexIcons::Flag::Dz
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Dz
show all
- Defined in:
- lib/phlex-icons/flag/dz.rb
Instance Attribute Summary
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#rectangle ⇒ Object
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/phlex-icons/flag/dz.rb', line 20
def rectangle
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.path(fill: '#fff', d: 'M320 0h320v480H320z')
s.path(fill: '#006233', d: 'M0 0h320v480H0z')
s.path(
fill: '#d21034',
d:
'M424 180a120 120 0 1 0 0 120 96 96 0 1 1 0-120m4 60-108-35.2 67.2 92V183.2l-67.2 92z'
)
end
end
|
#square ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/phlex-icons/flag/dz.rb', line 6
def square
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.path(fill: '#fff', d: 'M256 0h256v512H256z')
s.path(fill: '#006233', d: 'M0 0h256v512H0z')
s.path(
fill: '#d21034',
d:
'M367 192a128 128 0 1 0 0 128 102.4 102.4 0 1 1 0-128m4.2 64L256 218.4l71.7 98.2V195.4L256 293.6z'
)
end
end
|