Class: PhlexIcons::Flag::Nl
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Nl
show all
- Defined in:
- lib/phlex-icons/flag/nl.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
16
17
18
19
20
21
22
23
24
|
# File 'lib/phlex-icons/flag/nl.rb', line 16
def rectangle
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.path(fill: '#ae1c28', d: 'M0 0h640v160H0z')
s.path(fill: '#fff', d: 'M0 160h640v160H0z')
s.path(fill: '#21468b', d: 'M0 320h640v160H0z')
end
end
|
#square ⇒ Object
6
7
8
9
10
11
12
13
14
|
# File 'lib/phlex-icons/flag/nl.rb', line 6
def square
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.path(fill: '#ae1c28', d: 'M0 0h512v170.7H0z')
s.path(fill: '#fff', d: 'M0 170.7h512v170.6H0z')
s.path(fill: '#21468b', d: 'M0 341.3h512V512H0z')
end
end
|