Class: Phlex::Icons::Iconoir::Erase

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/erase.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/erase.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: "M21 21L9 21",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d: "M15.889 14.8891L8.46436 7.46448",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d:
        "M2.8934 12.6066L12.0858 3.41421C12.8668 2.63317 14.1332 2.63317 14.9142 3.41421L19.864 8.36396C20.645 9.14501 20.645 10.4113 19.864 11.1924L10.6213 20.435C10.2596 20.7968 9.76894 21 9.25736 21C8.74577 21 8.25514 20.7968 7.8934 20.435L2.8934 15.435C2.11235 14.654 2.11235 13.3877 2.8934 12.6066Z",
      stroke: "currentColor",
      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
# File 'lib/phlex/icons/iconoir/icons/erase.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: "M21 21L9 21",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d:
        "M14.9142 3.41421L19.864 8.36396C20.645 9.14501 20.645 10.4113 19.864 11.1924L10.6213 20.435C10.2596 20.7968 9.76894 21 9.25736 21C8.74577 21 8.25514 20.7968 7.8934 20.435L2.8934 15.435C2.11235 14.654 2.11235 13.3877 2.8934 12.6066L7 8.5L11.75 13.25C12.4404 13.9404 13.5596 13.9404 14.25 13.25C14.9404 12.5596 14.9404 11.4404 14.25 10.75L9.5 6L12.0858 3.41421C12.8668 2.63317 14.1332 2.63317 14.9142 3.41421Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width,
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end