Class: PhlexIcons::Material::LocationOn

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/location_on.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

Constructor Details

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

Instance Method Details

#filledObject



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/phlex-icons/material/location_on.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 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'
    )
  end
end

#outlinedObject



20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/phlex-icons/material/location_on.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:
        'M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z'
    )
    s.circle(cx: '12', cy: '9', r: '2.5')
  end
end

#roundObject



34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/phlex-icons/material/location_on.rb', line 34

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M12 2c-4.2 0-8 3.22-8 8.2 0 3.18 2.45 6.92 7.34 11.23.38.33.95.33 1.33 0C17.55 17.12 20 13.38 20 10.2 20 5.22 16.2 2 12 2zm0 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'
    )
  end
end

#sharpObject



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/phlex-icons/material/location_on.rb', line 47

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'
    )
  end
end

#two_toneObject



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/phlex-icons/material/location_on.rb', line 60

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M12 4C9.24 4 7 6.24 7 9c0 2.85 2.92 7.21 5 9.88 2.11-2.69 5-7 5-9.88 0-2.76-2.24-5-5-5zm0 7.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z',
      opacity: '.3'
    )
    s.path(
      d:
        'M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z'
    )
    s.circle(cx: '12', cy: '9', r: '2.5')
  end
end