Class: PhlexIcons::Flag::Bl
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Bl
show all
- Defined in:
- lib/phlex-icons/flag/bl.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
18
19
20
21
22
23
24
25
26
|
# File 'lib/phlex-icons/flag/bl.rb', line 18
def rectangle
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.path(fill: '#fff', d: 'M0 0h640v480H0z')
s.path(fill: '#000091', d: 'M0 0h213.3v480H0z')
s.path(fill: '#e1000f', d: 'M426.7 0H640v480H426.7z')
end
end
|
#square ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/phlex-icons/flag/bl.rb', line 6
def square
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.g(fill_rule: 'evenodd', stroke_width: '1pt') do
s.path(fill: '#fff', d: 'M0 0h512v512H0z')
s.path(fill: '#00267f', d: 'M0 0h170.7v512H0z')
s.path(fill: '#f31830', d: 'M341.3 0H512v512H341.3z')
end
end
end
|