Class: Phlex::Icons::Iconoir::Number0Square

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/number_0_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
# File 'lib/phlex/icons/iconoir/icons/number_0_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 14V10C9.5 8.89543 10.3954 8 11.5 8H12.5C13.6046 8 14.5 8.89543 14.5 10V14C14.5 15.1046 13.6046 16 12.5 16H11.5C10.3954 16 9.5 15.1046 9.5 14Z",
      stroke: "currentColor"
    )
  end
end

#solidObject



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

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 10C10.25 9.30964 10.8096 8.75 11.5 8.75H12.5C13.1904 8.75 13.75 9.30964 13.75 10V14C13.75 14.6904 13.1904 15.25 12.5 15.25H11.5C10.8096 15.25 10.25 14.6904 10.25 14V10ZM11.5 7.25C9.98122 7.25 8.75 8.48122 8.75 10V14C8.75 15.5188 9.98122 16.75 11.5 16.75H12.5C14.0188 16.75 15.25 15.5188 15.25 14V10C15.25 8.48122 14.0188 7.25 12.5 7.25H11.5Z",
      fill: "currentColor"
    )
  end
end