Class: Phlex::Icons::Iconoir::ClosedCaptionsTag

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/closed_captions_tag.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from Phlex::Icons::Iconoir::Base

Instance Method Details

#regularObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/phlex/icons/iconoir/icons/closed_captions_tag.rb', line 2

def regular
  svg(
    class: @class,
    width: @width,
    height: @height,
    viewbox: "0 0 24 24",
    stroke_width: @stroke_width,
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.path(
      d:
        "M1 15V9C1 5.68629 3.68629 3 7 3H17C20.3137 3 23 5.68629 23 9V15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15Z",
      stroke: "currentColor"
    )
    s.path(
      d:
        "M10.5 10L10.3284 9.82843C9.79799 9.29799 9.07857 9 8.32843 9V9C6.76633 9 5.5 10.2663 5.5 11.8284V12.1716C5.5 13.7337 6.76633 15 8.32843 15V15C9.07857 15 9.79799 14.702 10.3284 14.1716L10.5 14",
      stroke: "currentColor",
      stroke_linecap: "round"
    )
    s.path(
      d:
        "M18.5 10L18.3284 9.82843C17.798 9.29799 17.0786 9 16.3284 9V9C14.7663 9 13.5 10.2663 13.5 11.8284V12.1716C13.5 13.7337 14.7663 15 16.3284 15V15C17.0786 15 17.798 14.702 18.3284 14.1716L18.5 14",
      stroke: "currentColor",
      stroke_linecap: "round"
    )
  end
end

#solidObject



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/phlex/icons/iconoir/icons/closed_captions_tag.rb', line 32

def solid
  svg(
    class: @class,
    width: @width,
    height: @height,
    viewbox: "0 0 24 24",
    stroke_width: @stroke_width,
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.path(
      fill_rule: "evenodd",
      clip_rule: "evenodd",
      d:
        "M0.25 9C0.25 5.27208 3.27208 2.25 7 2.25H17C20.7279 2.25 23.75 5.27208 23.75 9V15C23.75 18.7279 20.7279 21.75 17 21.75H7C3.27208 21.75 0.25 18.7279 0.25 15V9ZM4.75 11.8284C4.75 9.85208 6.35213 8.25 8.32843 8.25C9.27745 8.25 10.1876 8.62698 10.8587 9.29805L10.8587 9.29811L11.0303 9.46962C11.3232 9.76249 11.3232 10.2374 11.0304 10.5303C10.7375 10.8232 10.2626 10.8232 9.96972 10.5304L9.79812 10.3588L9.79805 10.3587C9.40831 9.96897 8.87966 9.75 8.32843 9.75C7.18053 9.75 6.25 10.6805 6.25 11.8284V12.1716C6.25 13.3195 7.18053 14.25 8.32843 14.25C8.87966 14.25 9.40831 14.031 9.79807 13.6413L9.96967 13.4697C10.2626 13.1768 10.7374 13.1768 11.0303 13.4697C11.3232 13.7626 11.3232 14.2374 11.0303 14.5303L10.8587 14.7019C10.1877 15.373 9.27748 15.75 8.32843 15.75C6.35213 15.75 4.75 14.1479 4.75 12.1716V11.8284ZM16.3284 8.25C14.3521 8.25 12.75 9.85209 12.75 11.8284V12.1716C12.75 14.1479 14.3521 15.75 16.3284 15.75C17.2775 15.75 18.1877 15.373 18.8587 14.7019L19.0303 14.5303C19.3232 14.2374 19.3232 13.7626 19.0303 13.4697C18.7374 13.1768 18.2626 13.1768 17.9697 13.4697L17.7981 13.6413C17.4083 14.031 16.8797 14.25 16.3284 14.25C15.1805 14.25 14.25 13.3195 14.25 12.1716V11.8284C14.25 10.6805 15.1805 9.75 16.3284 9.75C16.8797 9.75 17.4084 9.96904 17.7981 10.3588L17.9697 10.5304C18.2626 10.8232 18.7375 10.8232 19.0304 10.5303C19.3232 10.2374 19.3232 9.76249 19.0303 9.46962L18.8587 9.29805C18.1876 8.62698 17.2775 8.25 16.3284 8.25Z",
      fill: "currentColor"
    )
  end
end