Class: PhlexIcons::Huge::BinaryCode

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/huge/binary_code.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
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/phlex-icons/huge/binary_code.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 6C2 5.05719 2 4.58579 2.29289 4.29289C2.58579 4 3.05719 4 4 4C4.94281 4 5.41421 4 5.70711 4.29289C6 4.58579 6 5.05719 6 6V8C6 8.94281 6 9.41421 5.70711 9.70711C5.41421 10 4.94281 10 4 10C3.05719 10 2.58579 10 2.29289 9.70711C2 9.41421 2 8.94281 2 8V6Z',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
    s.path(
      d:
        'M6.5 16C6.5 15.0572 6.5 14.5858 6.79289 14.2929C7.08579 14 7.55719 14 8.5 14C9.44281 14 9.91421 14 10.2071 14.2929C10.5 14.5858 10.5 15.0572 10.5 16V18C10.5 18.9428 10.5 19.4142 10.2071 19.7071C9.91421 20 9.44281 20 8.5 20C7.55719 20 7.08579 20 6.79289 19.7071C6.5 19.4142 6.5 18.9428 6.5 18V16Z',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
    s.path(
      d:
        'M13.5 6C13.5 5.05719 13.5 4.58579 13.7929 4.29289C14.0858 4 14.5572 4 15.5 4C16.4428 4 16.9142 4 17.2071 4.29289C17.5 4.58579 17.5 5.05719 17.5 6V8C17.5 8.94281 17.5 9.41421 17.2071 9.70711C16.9142 10 16.4428 10 15.5 10C14.5572 10 14.0858 10 13.7929 9.70711C13.5 9.41421 13.5 8.94281 13.5 8V6Z',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
    s.path(
      d:
        'M13.5 16C13.5 15.0572 13.5 14.5858 13.7929 14.2929C14.0858 14 14.5572 14 15.5 14C16.4428 14 16.9142 14 17.2071 14.2929C17.5 14.5858 17.5 15.0572 17.5 16V18C17.5 18.9428 17.5 19.4142 17.2071 19.7071C16.9142 20 16.4428 20 15.5 20C14.5572 20 14.0858 20 13.7929 19.7071C13.5 19.4142 13.5 18.9428 13.5 18V16Z',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
    s.path(
      d: 'M9 5L10.5 4V10',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d: 'M2 15L3.5 14V20',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d: 'M20.5 5L22 4V10',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d: 'M20.5 15L22 14V20',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
  end
end