Class: Phlex::Icons::Iconoir::WhiteFlag

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/white_flag.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
# File 'lib/phlex/icons/iconoir/icons/white_flag.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:
        "M5 15L5.95039 4.54568C5.97849 4.23663 6.23761 4 6.54793 4H20.343C20.6958 4 20.9725 4.30295 20.9405 4.65432L20.0496 14.4543C20.0215 14.7634 19.7624 15 19.4521 15H5ZM5 15L4.4 21",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end

#solidObject



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/phlex/icons/iconoir/icons/white_flag.rb', line 22

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:
        "M20.9405 4.65432L20.0496 14.4543C20.0215 14.7634 19.7624 15 19.4521 15H5L5.95039 4.54568C5.97849 4.23663 6.23761 4 6.54793 4H20.343C20.6958 4 20.9725 4.30295 20.9405 4.65432Z",
      fill: "currentColor"
    )
    s.path(
      d:
        "M5 15L5.95039 4.54568C5.97849 4.23663 6.23761 4 6.54793 4H20.343C20.6958 4 20.9725 4.30295 20.9405 4.65432L20.0496 14.4543C20.0215 14.7634 19.7624 15 19.4521 15H5ZM5 15L4.4 21",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end