Class: PhlexIcons::Flag::Mn

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/flag/mn.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from PhlexIcons::Base

Instance Method Details

#rectangleObject



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/phlex-icons/flag/mn.rb', line 35

def rectangle
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    fill: '#ffd900',
    viewbox: '0 0 640 480'
  ) do |s|
    s.path(fill: '#da2032', d: 'M0 0h640v480H0Z')
    s.path(fill: '#0066b3', d: 'M213.3 0h213.4v480H213.3Z')
    s.circle(cx: '106.7', cy: '181.8', r: '40')
    s.circle(cx: '106.7', cy: '163.6', r: '43.6', fill: '#da2032')
    s.circle(cx: '106.7', cy: '170.9', r: '29.1')
    s.path(
      d:
        'M109.7 76.4a9 9 0 0 0-5.2 7.5c-.2 2.5.9 5.3 1 7.7 0 4.2-4.3 5.6-4.3 11.5 0 2 1.9 4.3 1.9 9.6-.4 2.8-2 3.5-3.7 3.7a3.6 3.6 0 0 1-3.6-3.7 4 4 0 0 1 1-2.5l.4-.3c.8-.9 2-1.2 2-3.4 0-1.1-.8-2.2-1.5-4.2s-.2-5.2 1.4-7.1c-2.6 1-4.1 3.4-5 5.6-.8 2.7 0 4.2-1.2 6.5-.7 1.4-1.5 2-2.3 3.2-1 1.4-2 4.4-2 5.9a18.2 18.2 0 0 0 36.3 0c0-1.5-1.1-4.5-2-5.9-.9-1.2-1.7-1.8-2.4-3.2-1.2-2.3-.4-3.8-1.3-6.5-.8-2.2-2.3-4.6-4.9-5.6 1.6 2 2 5.2 1.4 7.1-.7 2-1.4 3-1.4 4.2 0 2.2 1.1 2.5 2 3.4l.3.3a4 4 0 0 1 1 2.5 3.6 3.6 0 0 1-3.6 3.7c-2-.3-3.5-1.2-3.7-3.7 0-7 3-7.4 3-12.6 0-7.4-6.6-10.9-6.6-16.3 0-1.8.4-5 3-7.4M26.7 229H63v174.5H26.7Zm123.6 0h36.4v174.5h-36.4zm-80 0H143l-36.3 21.8Zm0 29H143v14.6H70.3Zm0 101.9H143v14.6H70.3Zm0 21.8H143l-36.3 21.8Z'
    )
    s.circle(cx: '106.7', cy: '316.4', r: '36.4')
    s.g(fill: '#da2032', transform: 'translate(-38.8 32.7)scale(.72727)') do
      s.circle(cx: '200', cy: '363.5', r: '10')
      s.circle(cx: '200', cy: '416.5', r: '10')
      s.path(
        d:
          'M200 334a29.5 29.5 0 0 1 0 59 23.5 23.5 0 0 0 0 47v6a29.5 29.5 0 0 1 0-59 23.5 23.5 0 0 0 0-47z'
      )
    end
  end
end

#squareObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/phlex-icons/flag/mn.rb', line 7

def square
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    fill: '#ffd900',
    viewbox: '0 0 512 512'
  ) do |s|
    s.path(fill: '#da2032', d: 'M0 0h512v512H0Z')
    s.path(fill: '#0066b3', d: 'M170.7 0h170.6v512H170.7Z')
    s.circle(cx: '85.3', cy: '196.6', r: '35')
    s.circle(cx: '85.3', cy: '180.7', r: '38.2', fill: '#da2032')
    s.circle(cx: '85.3', cy: '187', r: '25.5')
    s.path(
      d:
        'M88 104.3a8 8 0 0 0-4.6 6.6c-.2 2.2.8 4.6.9 6.7 0 3.7-3.8 4.9-3.8 10.1 0 1.8 1.7 3.8 1.7 8.4-.3 2.5-1.7 3-3.2 3.2a3 3 0 0 1-3.2-3.2 3 3 0 0 1 .9-2.2l.3-.3c.7-.7 1.7-1 1.7-3 0-1-.6-1.8-1.2-3.6a7 7 0 0 1 1.2-6.2c-2.2.8-3.6 3-4.3 4.9-.7 2.3-.1 3.7-1.1 5.7-.6 1.2-1.4 1.7-2 2.8-.9 1.2-1.8 3.8-1.8 5.1a16 16 0 0 0 31.8 0c0-1.3-1-4-1.8-5.1-.7-1-1.5-1.6-2-2.8-1-2-.4-3.4-1.2-5.7-.7-2-2-4-4.3-5a7 7 0 0 1 1.3 6.3c-.7 1.8-1.3 2.7-1.3 3.7 0 1.9 1 2.2 1.7 3l.3.2a3 3 0 0 1 1 2.2 3 3 0 0 1-3.3 3.2q-2.7-.1-3.2-3.2c0-6.1 2.7-6.5 2.7-11 0-6.5-5.8-9.6-5.8-14.3 0-1.6.3-4.3 2.6-6.5M15.3 237.9h31.9v152.8H15.3Zm108.2 0h31.8v152.8h-31.8zm-70 0h63.7L85.3 257Zm0 25.5h63.7V276H53.5Zm0 89h63.7v12.8H53.5Zm0 19.2h63.7l-31.9 19Z'
    )
    s.circle(cx: '85.3', cy: '314.3', r: '31.8')
    s.g(fill: '#da2032', transform: 'translate(-42 66.1)scale(.63636)') do
      s.circle(cx: '200', cy: '363.5', r: '10')
      s.circle(cx: '200', cy: '416.5', r: '10')
      s.path(
        d:
          'M200 334a29.5 29.5 0 0 1 0 59 23.5 23.5 0 0 0 0 47v6a29.5 29.5 0 0 1 0-59 23.5 23.5 0 0 0 0-47z'
      )
    end
  end
end