Class: PhlexIcons::Flag::Ma

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



20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/phlex-icons/flag/ma.rb', line 20

def rectangle
  svg(
    **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
  ) do |s|
    s.path(fill: '#c1272d', d: 'M640 0H0v480h640z')
    s.path(
      fill: 'none',
      stroke: '#006233',
      stroke_width: '11.7',
      d: 'M320 179.4 284.4 289l93.2-67.6H262.4l93.2 67.6z'
    )
  end
end

#squareObject



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/phlex-icons/flag/ma.rb', line 6

def square
  svg(
    **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
  ) do |s|
    s.path(fill: '#c1272d', d: 'M512 0H0v512h512z')
    s.path(
      fill: 'none',
      stroke: '#006233',
      stroke_width: '12.5',
      d: 'm256 191.4-38 116.8 99.4-72.2H194.6l99.3 72.2z'
    )
  end
end