Class: Phlex::Icons::Iconoir::PlusCircle
- Inherits:
-
Base
- Object
- SVG
- Base
- Phlex::Icons::Iconoir::PlusCircle
show all
- Defined in:
- lib/phlex/icons/iconoir/icons/plus_circle.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
25
26
|
# File 'lib/phlex/icons/iconoir/icons/plus_circle.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: "M8 12H12M16 12H12M12 12V8M12 12V16",
stroke: "currentColor",
stroke_linecap: "round",
stroke_linejoin: "round"
)
s.path(
d:
"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
stroke: "currentColor",
stroke_linecap: "round",
stroke_linejoin: "round"
)
end
end
|
#solid ⇒ Object
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# File 'lib/phlex/icons/iconoir/icons/plus_circle.rb', line 28
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:
"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8V11.25H8C7.58579 11.25 7.25 11.5858 7.25 12C7.25 12.4142 7.58579 12.75 8 12.75H11.25V16C11.25 16.4142 11.5858 16.75 12 16.75C12.4142 16.75 12.75 16.4142 12.75 16V12.75H16C16.4142 12.75 16.75 12.4142 16.75 12C16.75 11.5858 16.4142 11.25 16 11.25H12.75V8Z",
fill: "currentColor"
)
end
end
|