Class: Phlex::Icons::Iconoir::Network

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/network.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from Phlex::Icons::Iconoir::Base

Instance Method Details

#regularObject



2
3
4
5
6
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
# File 'lib/phlex/icons/iconoir/icons/network.rb', line 2

def regular
  svg(
    class: @class,
    width: @width,
    height: @height,
    stroke_width: @stroke_width,
    viewbox: "0 0 24 24",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.rect(
      x: "3",
      y: "2",
      width: @width,
      height: @height,
      rx: "0.6",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.rect(
      x: "8.5",
      y: "17",
      width: @width,
      height: @height,
      rx: "0.6",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.rect(
      x: "14",
      y: "2",
      width: @width,
      height: @height,
      rx: "0.6",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d:
        "M6.5 7V10.5C6.5 11.6046 7.39543 12.5 8.5 12.5H15.5C16.6046 12.5 17.5 11.6046 17.5 10.5V7",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d: "M12 12.5V17",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
  end
end

#solidObject



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/phlex/icons/iconoir/icons/network.rb', line 53

def solid
  svg(
    class: @class,
    width: @width,
    height: @height,
    viewbox: "0 0 24 24",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.rect(
      x: "3",
      y: "2",
      width: @width,
      height: @height,
      rx: "0.6",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.rect(
      x: "8.5",
      y: "17",
      width: @width,
      height: @height,
      rx: "0.6",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.rect(
      x: "14",
      y: "2",
      width: @width,
      height: @height,
      rx: "0.6",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d:
        "M6.5 7V10.5C6.5 11.6046 7.39543 12.5 8.5 12.5H15.5C16.6046 12.5 17.5 11.6046 17.5 10.5V7",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d: "M12 12.5V17",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
  end
end