Class: PhlexIcons::Huge::LaptopProgramming

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/huge/laptop_programming.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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/phlex-icons/huge/laptop_programming.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:
        'M20 14.5V6.5C20 4.61438 20 3.67157 19.4142 3.08579C18.8284 2.5 17.8856 2.5 16 2.5H8C6.11438 2.5 5.17157 2.5 4.58579 3.08579C4 3.67157 4 4.61438 4 6.5V14.5',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d:
        'M3.49762 15.5154L4.01953 14.5H19.9518L20.5023 15.5154C21.9452 18.177 22.3046 19.5077 21.7561 20.5039C21.2077 21.5 19.7536 21.5 16.8454 21.5L7.15462 21.5C4.24642 21.5 2.79231 21.5 2.24387 20.5039C1.69543 19.5077 2.05474 18.177 3.49762 15.5154Z',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d:
        'M15.5 7L16.4199 7.79289C16.8066 8.12623 17 8.29289 17 8.5C17 8.70711 16.8066 8.87377 16.4199 9.20711L15.5 10',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d:
        'M8.5 7L7.58009 7.79289C7.19337 8.12623 7 8.29289 7 8.5C7 8.70711 7.19336 8.87377 7.58009 9.20711L8.5 10',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d: 'M13 6L11 11',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
  end
end