Class: PhlexIcons::Tabler::Golf

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

Instance Method Details

#filledObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/phlex-icons/tabler/golf.rb', line 7

def filled
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'currentColor'
  ) do |s|
    s.path(
      d:
        'M11 3a1 1 0 0 1 1.496 -.868l7 4a1 1 0 0 1 0 1.736l-6.496 3.712v6.42a1 1 0 0 1 -.883 .993l-.117 .007a1 1 0 0 1 -1 -1z'
    )
    s.path(
      d:
        'M14.135 17.168a1 1 0 0 1 1.367 -.363c.916 .532 1.498 1.291 1.498 2.195c0 1.84 -2.319 3 -5 3s-5 -1.16 -5 -3c0 -.911 .577 -1.66 1.498 -2.195a1 1 0 1 1 1.004 1.73c-.365 .212 -.502 .39 -.502 .465c0 .086 .179 .296 .622 .518c.6 .3 1.456 .482 2.378 .482s1.777 -.182 2.378 -.482c.443 -.222 .622 -.432 .622 -.518c0 -.07 -.142 -.256 -.502 -.465a1 1 0 0 1 -.363 -1.367'
    )
  end
end

#outlineObject



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/phlex-icons/tabler/golf.rb', line 25

def outline
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'none',
    stroke: 'currentColor',
    stroke_width: '2',
    stroke_linecap: 'round',
    stroke_linejoin: 'round'
  ) do |s|
    s.path(d: 'M12 18v-15l7 4l-7 4')
    s.path(
      d:
        'M9 17.67c-.62 .36 -1 .82 -1 1.33c0 1.1 1.8 2 4 2s4 -.9 4 -2c0 -.5 -.38 -.97 -1 -1.33'
    )
  end
end