Sha256: 34dbe3f81086ff6f90cbe8ab5dd4707674dc5e2e9259895e8f620bac921ed312

Contents?: true

Size: 1.45 KB

Versions: 14

Compression:

Stored size: 1.45 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Hexagon < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M10.425 1.414l-6.775 3.996a3.21 3.21 0 0 0 -1.65 2.807v7.285a3.226 3.226 0 0 0 1.678 2.826l6.695 4.237c1.034 .57 2.22 .57 3.2 .032l6.804 -4.302c.98 -.537 1.623 -1.618 1.623 -2.793v-7.284l-.005 -.204a3.223 3.223 0 0 0 -1.284 -2.39l-.107 -.075l-.007 -.007a1.074 1.074 0 0 0 -.181 -.133l-6.776 -3.995a3.33 3.33 0 0 0 -3.216 0z'
            )
          end
        end

        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:
                'M19.875 6.27a2.225 2.225 0 0 1 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
phlex-icons-tabler-1.6.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/hexagon.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/hexagon.rb