Class: PhlexIcons::Material::Circle
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Material::Circle
show all
- Defined in:
- lib/phlex-icons/material/circle.rb
Instance Attribute Summary
Attributes inherited from Base
#variant
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#filled ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/phlex-icons/material/circle.rb', line 7
def filled
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d: 'M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z'
)
end
end
|
#outlined ⇒ Object
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/phlex-icons/material/circle.rb', line 19
def outlined
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'
)
end
end
|
#round ⇒ Object
32
33
34
35
36
37
38
39
40
41
42
|
# File 'lib/phlex-icons/material/circle.rb', line 32
def round
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d: 'M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z'
)
end
end
|
#sharp ⇒ Object
44
45
46
47
48
49
50
51
52
53
54
|
# File 'lib/phlex-icons/material/circle.rb', line 44
def sharp
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d: 'M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z'
)
end
end
|
#two_tone ⇒ Object
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# File 'lib/phlex-icons/material/circle.rb', line 56
def two_tone
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.circle(cx: '12', cy: '12', r: '8', opacity: '.3')
s.path(
d:
'M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'
)
end
end
|