Class: PhlexIcons::Flag::Lt

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/flag/lt.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



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
62
63
64
65
66
# File 'lib/phlex-icons/flag/lt.rb', line 37

def rectangle
  svg(
    **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
  ) do |s|
    s.g(
      fill_rule: 'evenodd',
      stroke_width: '1pt',
      transform: 'scale(.64143 .96773)'
    ) do
      s.rect(
        width: '1063',
        height: '708.7',
        fill: '#006a44',
        rx: '0',
        ry: '0',
        transform: 'scale(.93865 .69686)'
      )
      s.rect(
        width: '1063',
        height: '236.2',
        y: '475.6',
        fill: '#c1272d',
        rx: '0',
        ry: '0',
        transform: 'scale(.93865 .69686)'
      )
      s.path(fill: '#fdb913', d: 'M0 0h997.8v164.6H0z')
    end
  end
end

#squareObject



6
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
34
35
# File 'lib/phlex-icons/flag/lt.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',
      transform: 'scale(.51314 1.0322)'
    ) do
      s.rect(
        width: '1063',
        height: '708.7',
        fill: '#006a44',
        rx: '0',
        ry: '0',
        transform: 'scale(.93865 .69686)'
      )
      s.rect(
        width: '1063',
        height: '236.2',
        y: '475.6',
        fill: '#c1272d',
        rx: '0',
        ry: '0',
        transform: 'scale(.93865 .69686)'
      )
      s.path(fill: '#fdb913', d: 'M0 0h997.8v164.6H0z')
    end
  end
end