Class: PhlexIcons::Flag::Se
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Se
show all
- Defined in:
- lib/phlex-icons/flag/se.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
|
# File 'lib/phlex-icons/flag/se.rb', line 18
def rectangle
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.path(fill: '#005293', d: 'M0 0h640v480H0z')
s.path(fill: '#fecb00', d: 'M176 0v192H0v96h176v192h96V288h368v-96H272V0z')
end
end
|
#square ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/phlex-icons/flag/se.rb', line 6
def square
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.path(fill: '#005293', d: 'M0 0h512v512H0z')
s.path(
fill: '#fecb00',
d: 'M134 0v204.8H0v102.4h134V512h102.4V307.2H512V204.8H236.4V0z'
)
end
end
|