Class: Phlex::Icons::Iconoir::DownloadSquare

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/download_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
26
27
28
29
30
31
# File 'lib/phlex/icons/iconoir/icons/download_square.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: "M6 18L18 18",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d: "M12 6V14M12 14L15.5 10.5M12 14L8.5 10.5",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    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",
      stroke_width: @stroke_width
    )
  end
end

#solidObject



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/phlex/icons/iconoir/icons/download_square.rb', line 33

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:
        "M2.25 3.6C2.25 2.85441 2.85442 2.25 3.6 2.25H20.4C21.1456 2.25 21.75 2.85442 21.75 3.6V20.4C21.75 21.1456 21.1456 21.75 20.4 21.75H3.6C2.85441 21.75 2.25 21.1456 2.25 20.4V3.6ZM5.25 18C5.25 17.5858 5.58579 17.25 6 17.25L18 17.25C18.4142 17.25 18.75 17.5858 18.75 18C18.75 18.4142 18.4142 18.75 18 18.75L6 18.75C5.58579 18.75 5.25 18.4142 5.25 18ZM16.0303 11.0303L12.5303 14.5303C12.2374 14.8232 11.7626 14.8232 11.4697 14.5303L7.96967 11.0303C7.67678 10.7374 7.67678 10.2626 7.96967 9.96967C8.26256 9.67678 8.73744 9.67678 9.03033 9.96967L11.25 12.1893V6C11.25 5.58579 11.5858 5.25 12 5.25C12.4142 5.25 12.75 5.58579 12.75 6V12.1893L14.9697 9.96967C15.2626 9.67678 15.7374 9.67678 16.0303 9.96967C16.3232 10.2626 16.3232 10.7374 16.0303 11.0303Z",
      fill: "currentColor"
    )
  end
end