Class: Phlex::Icons::Iconoir::Number1Square
- Inherits:
-
Base
- Object
- SVG
- Base
- Phlex::Icons::Iconoir::Number1Square
show all
- Defined in:
- lib/phlex/icons/iconoir/icons/number_1_square.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#regular ⇒ Object
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/phlex/icons/iconoir/icons/number_1_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: "M13 16V8L10 11",
stroke: "currentColor",
stroke_linecap: "round",
stroke_linejoin: "round"
)
end
end
|
#solid ⇒ Object
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# File 'lib/phlex/icons/iconoir/icons/number_1_square.rb', line 26
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.6ZM13.75 8C13.75 7.69665 13.5673 7.42318 13.287 7.30709C13.0068 7.191 12.6842 7.25517 12.4697 7.46967L9.46967 10.4697C9.17678 10.7626 9.17678 11.2374 9.46967 11.5303C9.76256 11.8232 10.2374 11.8232 10.5303 11.5303L12.25 9.81066V16C12.25 16.4142 12.5858 16.75 13 16.75C13.4142 16.75 13.75 16.4142 13.75 16V8Z",
fill: "currentColor"
)
end
end
|