Class: PhlexIcons::Flag::Bh
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Bh
show all
- Defined in:
- lib/phlex-icons/flag/bh.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
|
# File 'lib/phlex-icons/flag/bh.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: 'M0 0h640v480H0')
s.path(
fill: '#ce1126',
d:
'M640 0H96l110.7 48L96 96l110.7 48L96 192l110.7 48L96 288l110.7 48L96 384l110.7 48L96 480h544'
)
end
end
|
#square ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/phlex-icons/flag/bh.rb', line 7
def square
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.path(fill: '#fff', d: 'M0 0h512v512H0')
s.path(
fill: '#ce1126',
d:
'M512 0H102.4l83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2H512'
)
end
end
|