Class: PhlexIcons::Material::Rectangle
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Material::Rectangle
show all
- Defined in:
- lib/phlex-icons/material/rectangle.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
6
7
8
9
10
11
12
13
14
|
# File 'lib/phlex-icons/material/rectangle.rb', line 6
def filled
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(d: 'M2 4h20v16H2z')
end
end
|
#outlined ⇒ Object
16
17
18
19
20
21
22
23
24
|
# File 'lib/phlex-icons/material/rectangle.rb', line 16
def outlined
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(d: 'M2 4v16h20V4H2zm18 14H4V6h16v12z')
end
end
|
#round ⇒ Object
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/phlex-icons/material/rectangle.rb', line 26
def round
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M2 6v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2z'
)
end
end
|
#sharp ⇒ Object
39
40
41
42
43
44
45
46
47
|
# File 'lib/phlex-icons/material/rectangle.rb', line 39
def sharp
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(d: 'M2 4h20v16H2z')
end
end
|
#two_tone ⇒ Object
49
50
51
52
53
54
55
56
57
58
|
# File 'lib/phlex-icons/material/rectangle.rb', line 49
def two_tone
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(d: 'M4 6h16v12H4z', opacity: '.3')
s.path(d: 'M2 4v16h20V4H2zm18 14H4V6h16v12z')
end
end
|