Class: Phlex::Icons::Iconoir::StyleBorder

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/style_border.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
# File 'lib/phlex/icons/iconoir/icons/style_border.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.path(
      d:
        "M16 2H8C4.68629 2 2 4.68629 2 8V16C2 19.3137 4.68629 22 8 22H16C19.3137 22 22 19.3137 22 16V8C22 4.68629 19.3137 2 16 2Z",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_miterlimit: "1.5",
      stroke_linecap: "round",
      stroke_linejoin: "round",
      stroke_dasharray: "2 2"
    )
    s.path(
      d:
        "M16 5H8C6.34315 5 5 6.34315 5 8V16C5 17.6569 6.34315 19 8 19H16C17.6569 19 19 17.6569 19 16V8C19 6.34315 17.6569 5 16 5Z",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_miterlimit: "1.5",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end

#solidObject



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
# File 'lib/phlex/icons/iconoir/icons/style_border.rb', line 34

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.path(
      d:
        "M16 2H8C4.68629 2 2 4.68629 2 8V16C2 19.3137 4.68629 22 8 22H16C19.3137 22 22 19.3137 22 16V8C22 4.68629 19.3137 2 16 2Z",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_miterlimit: "1.5",
      stroke_linecap: "round",
      stroke_linejoin: "round",
      stroke_dasharray: "2 2"
    )
    s.path(
      d:
        "M16 5H8C6.34315 5 5 6.34315 5 8V16C5 17.6569 6.34315 19 8 19H16C17.6569 19 19 17.6569 19 16V8C19 6.34315 17.6569 5 16 5Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_miterlimit: "1.5",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end