Class: PhlexIcons::Radix::DrawingPin

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/radix/drawing_pin.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PhlexIcons::Radix::Base

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/phlex-icons/radix/drawing_pin.rb', line 7

def view_template
  svg(
    **attrs,
    viewbox: '0 0 15 15',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.path(
      d:
        'M9.62103 1.13601C9.81625 0.940789 10.1328 0.940868 10.3281 1.13601L13.8642 4.67117C14.0593 4.86631 14.0591 5.18291 13.8642 5.3782C13.6689 5.57346 13.3524 5.57346 13.1572 5.3782L12.5038 4.72586L8.86712 9.57449L9.97454 10.6819C10.1698 10.8772 10.1698 11.1937 9.97454 11.3889C9.77928 11.5841 9.46275 11.5842 9.26751 11.3889L6.7929 8.91336V8.91433L3.5224 12.1848C3.32718 12.3799 3.01058 12.3799 2.81536 12.1848C2.62016 11.9896 2.62028 11.6731 2.81536 11.4778L6.08587 8.2073V8.20632L3.61126 5.73171C3.41601 5.53645 3.416 5.21994 3.61126 5.02468C3.80656 4.82984 4.12317 4.82956 4.31829 5.02468L5.42572 6.13308L10.2743 2.49636L9.62103 1.84304C9.42592 1.64781 9.42592 1.33124 9.62103 1.13601ZM6.13958 6.84695L8.15326 8.86062L11.79 4.01101L10.9882 3.21023L6.13958 6.84695Z',
      fill: 'currentColor'
    )
  end
end