Class: PhlexIcons::Huge::ArtboardTool

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

Instance Method Details

#strokeObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/phlex-icons/huge/artboard_tool.rb', line 7

def stroke
  svg(
    **attrs,
    viewbox: '0 0 24 24',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.path(
      d:
        'M9 7H15C18.2998 7 19.9497 7 20.9749 8.02513C22 9.05025 22 10.7002 22 14V15C22 18.2998 22 19.9497 20.9749 20.9749C19.9497 22 18.2998 22 15 22H14C10.7002 22 9.05025 22 8.02513 20.9749C7 19.9497 7 18.2998 7 15V9',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d: 'M2 7L5 7',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round'
    )
    s.path(
      d: 'M7 5L7 2',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round'
    )
  end
end