Class: PhlexIcons::Material::Margin
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Material::Margin
show all
- Defined in:
- lib/phlex-icons/material/margin.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
18
|
# File 'lib/phlex-icons/material/margin.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:
'M3 3v18h18V3H3zm16 16H5V5h14v14zM11 7h2v2h-2zM7 7h2v2H7zm8 0h2v2h-2zm-8 4h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z'
)
end
end
|
#outlined ⇒ Object
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/phlex-icons/material/margin.rb', line 20
def outlined
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M3 3v18h18V3H3zm16 16H5V5h14v14zM11 7h2v2h-2V7zM7 7h2v2H7V7zm8 0h2v2h-2V7zm-8 4h2v2H7v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z'
)
end
end
|
#round ⇒ Object
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/phlex-icons/material/margin.rb', line 33
def round
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M3 5v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2zm6 3c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1zm4 0c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1zm4 0c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1zm0 4c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1zm-4 0c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1zm-4 0c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1z'
)
end
end
|
#sharp ⇒ Object
46
47
48
49
50
51
52
53
54
55
56
57
|
# File 'lib/phlex-icons/material/margin.rb', line 46
def sharp
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M3 3v18h18V3H3zm6 10H7v-2h2v2zm0-4H7V7h2v2zm4 4h-2v-2h2v2zm0-4h-2V7h2v2zm4 4h-2v-2h2v2zm0-4h-2V7h2v2z'
)
end
end
|
#two_tone ⇒ Object
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# File 'lib/phlex-icons/material/margin.rb', line 59
def two_tone
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M5 19h14V5H5v14zM15 7h2v2h-2V7zm0 4h2v2h-2v-2zm-4-4h2v2h-2V7zm0 4h2v2h-2v-2zM7 7h2v2H7V7zm0 4h2v2H7v-2z',
opacity: '.3'
)
s.path(d: 'M7 7h2v2H7zm0 4h2v2H7z')
s.path(d: 'M3 3v18h18V3H3zm16 16H5V5h14v14z')
s.path(d: 'M11 7h2v2h-2zm4 4h2v2h-2zm-4 0h2v2h-2zm4-4h2v2h-2z')
end
end
|