Class: PhlexIcons::Flag::Xx

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/flag/xx.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
33
34
35
36
37
38
# File 'lib/phlex-icons/flag/xx.rb', line 20

def rectangle
  svg(
    **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
  ) do |s|
    s.path(
      fill: '#fff',
      fill_rule: 'evenodd',
      stroke: '#adb5bd',
      stroke_width: '1.1',
      d: 'M.5.5h638.9v478.9H.5z'
    )
    s.path(
      fill: 'none',
      stroke: '#adb5bd',
      stroke_width: '1.1',
      d: 'm.5.5 639 479m0-479-639 479'
    )
  end
end

#squareObject



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

def square
  svg(
    **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
  ) do |s|
    s.path(
      fill: '#fff',
      fill_rule: 'evenodd',
      stroke: '#adb5bd',
      d: 'M.5.5h511v511H.5z'
    )
    s.path(fill: 'none', stroke: '#adb5bd', d: 'm.5.5 511 511m0-511-511 511')
  end
end