Class: PhlexIcons::Flag::Bf
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Bf
show all
- Defined in:
- lib/phlex-icons/flag/bf.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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/phlex-icons/flag/bf.rb', line 23
def rectangle
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.g(fill_rule: 'evenodd') do
s.path(fill: '#de0000', d: 'M640 479.6H.4V0H640z')
s.path(fill: '#35a100', d: 'M639.6 480H0V240.2h639.6z')
s.path(
fill: '#fff300',
d:
'm254.6 276.2-106-72.4h131L320 86.6 360.4 204l131-.1-106 72.4 40.5 117.3-106-72.6L214 393.4'
)
end
end
end
|
#square ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/phlex-icons/flag/bf.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') do
s.path(fill: '#de0000', d: 'M512 511.6H.5V0H512z')
s.path(fill: '#35a100', d: 'M511.8 512H0V256.2h511.7z')
end
s.path(
fill: '#fff300',
fill_rule: 'evenodd',
d:
'm389 223.8-82.9 56.5 31.7 91.6-82.7-56.7-82.8 56.7 31.7-91.6-82.8-56.6 102.3.2 31.6-91.7 31.5 91.6'
)
end
end
|