Class: PhlexIcons::Tabler::Diamonds

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/tabler/diamonds.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
# File 'lib/phlex-icons/tabler/diamonds.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:
        'M12 2.005c-.777 0 -1.508 .367 -1.971 .99l-5.362 6.895c-.89 1.136 -.89 3.083 0 4.227l5.375 6.911a2.457 2.457 0 0 0 3.93 -.017l5.361 -6.894c.89 -1.136 .89 -3.083 0 -4.227l-5.375 -6.911a2.446 2.446 0 0 0 -1.958 -.974z'
    )
  end
end

#outlineObject



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/phlex-icons/tabler/diamonds.rb', line 21

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:
        'M10.831 20.413l-5.375 -6.91c-.608 -.783 -.608 -2.223 0 -3l5.375 -6.911a1.457 1.457 0 0 1 2.338 0l5.375 6.91c.608 .783 .608 2.223 0 3l-5.375 6.911a1.457 1.457 0 0 1 -2.338 0z'
    )
  end
end