Class: PhlexIcons::Bootstrap::XDiamond
- Inherits:
-
Base
- Object
- Phlex::SVG
- PhlexIcons::Base
- Base
- PhlexIcons::Bootstrap::XDiamond
- Defined in:
- lib/phlex-icons/bootstrap/x_diamond.rb
Instance Attribute Summary
Attributes inherited from PhlexIcons::Base
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from PhlexIcons::Base
Constructor Details
This class inherits a constructor from PhlexIcons::Bootstrap::Base
Instance Method Details
#view_template ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/phlex-icons/bootstrap/x_diamond.rb', line 7 def view_template svg( **attrs, xmlns: 'http://www.w3.org/2000/svg', fill: 'currentColor', viewbox: '0 0 16 16' ) do |s| s.path( d: 'M7.987 16a1.53 1.53 0 0 1-1.07-.448L.45 9.082a1.53 1.53 0 0 1 0-2.165L6.917.45a1.53 1.53 0 0 1 2.166 0l6.469 6.468A1.53 1.53 0 0 1 16 8.013a1.53 1.53 0 0 1-.448 1.07l-6.47 6.469A1.53 1.53 0 0 1 7.988 16zM7.639 1.17 4.766 4.044 8 7.278l3.234-3.234L8.361 1.17a.51.51 0 0 0-.722 0M8.722 8l3.234 3.234 2.873-2.873c.2-.2.2-.523 0-.722l-2.873-2.873zM8 8.722l-3.234 3.234 2.873 2.873c.2.2.523.2.722 0l2.873-2.873zM7.278 8 4.044 4.766 1.17 7.639a.51.51 0 0 0 0 .722l2.874 2.873z' ) end end |