Class: Phlex::Icons::Iconoir::Number2Square

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/number_2_square.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
# File 'lib/phlex/icons/iconoir/icons/number_2_square.rb', line 2

def regular
  svg(
    class: @class,
    width: @width,
    height: @height,
    viewbox: "0 0 24 24",
    stroke_width: @stroke_width,
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.path(
      d:
        "M3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4Z",
      stroke: "currentColor"
    )
    s.path(
      d:
        "M9.5 10.8V10.4C9.5 9.07452 10.5332 8 11.8077 8C13.0822 8 14.1154 9.07452 14.1154 10.4C14.1154 10.857 13.9926 11.2841 13.7794 11.6476C12.7289 13.4396 9.5 16 9.5 16H14.5",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end

#solidObject



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/phlex/icons/iconoir/icons/number_2_square.rb', line 27

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(
      fill_rule: "evenodd",
      clip_rule: "evenodd",
      d:
        "M3.6 2.25C2.85442 2.25 2.25 2.85441 2.25 3.6V20.4C2.25 21.1456 2.85441 21.75 3.6 21.75H20.4C21.1456 21.75 21.75 21.1456 21.75 20.4V3.6C21.75 2.85442 21.1456 2.25 20.4 2.25H3.6ZM10.25 10.4C10.25 9.46073 10.9749 8.75 11.8077 8.75C12.6405 8.75 13.3654 9.46073 13.3654 10.4C13.3654 10.7213 13.2793 11.0178 13.1324 11.2683C12.67 12.057 11.6782 13.0782 10.7378 13.9441C10.2789 14.3665 9.85144 14.7348 9.53856 14.9976C9.3823 15.1289 9.2551 15.2334 9.16743 15.3047C9.12361 15.3404 9.0897 15.3677 9.06701 15.3859L9.04159 15.4063L9.0355 15.4111L9.03417 15.4122L9.034 15.4123L9.03394 15.4124C8.78395 15.6107 8.68678 15.9454 8.79175 16.2467C8.89672 16.5481 9.18089 16.75 9.5 16.75H14.5C14.9142 16.75 15.25 16.4142 15.25 16C15.25 15.5858 14.9142 15.25 14.5 15.25H11.5319C11.6048 15.1841 11.6789 15.1165 11.7537 15.0476C12.6904 14.1853 13.8383 13.0302 14.4265 12.027C14.7059 11.5504 14.8654 10.9926 14.8654 10.4C14.8654 8.6883 13.5239 7.25 11.8077 7.25C10.0915 7.25 8.75 8.6883 8.75 10.4V10.8C8.75 11.2142 9.08579 11.55 9.5 11.55C9.91421 11.55 10.25 11.2142 10.25 10.8V10.4Z",
      fill: "currentColor"
    )
  end
end