Class: PhlexIcons::Huge::Rectangular

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

Instance Attribute Summary

Attributes inherited from Base

#variant

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from PhlexIcons::Huge::Base

Instance Method Details

#strokeObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/phlex-icons/huge/rectangular.rb', line 7

def stroke
  svg(
    **attrs,
    viewbox: '0 0 24 24',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.path(
      d:
        'M2 12C2 9.19974 2 7.79961 2.54497 6.73005C3.02433 5.78924 3.78924 5.02433 4.73005 4.54497C5.79961 4 7.19974 4 10 4H14C16.8003 4 18.2004 4 19.27 4.54497C20.2108 5.02433 20.9757 5.78924 21.455 6.73005C22 7.79961 22 9.19974 22 12C22 14.8003 22 16.2004 21.455 17.27C20.9757 18.2108 20.2108 18.9757 19.27 19.455C18.2004 20 16.8003 20 14 20H10C7.19974 20 5.79961 20 4.73005 19.455C3.78924 18.9757 3.02433 18.2108 2.54497 17.27C2 16.2004 2 14.8003 2 12Z',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linejoin: 'round'
    )
  end
end