Class: PhlexIcons::Material::PlayArrow

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/material/play_arrow.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::Material::Base

Instance Method Details

#filledObject



6
7
8
9
10
11
12
13
14
# File 'lib/phlex-icons/material/play_arrow.rb', line 6

def filled
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M8 5v14l11-7z')
  end
end

#outlinedObject



16
17
18
19
20
21
22
23
24
# File 'lib/phlex-icons/material/play_arrow.rb', line 16

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M10 8.64 15.27 12 10 15.36V8.64M8 5v14l11-7L8 5z')
  end
end

#roundObject



26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/phlex-icons/material/play_arrow.rb', line 26

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18a1 1 0 0 0 0-1.69L9.54 5.98A.998.998 0 0 0 8 6.82z'
    )
  end
end

#sharpObject



39
40
41
42
43
44
45
46
47
# File 'lib/phlex-icons/material/play_arrow.rb', line 39

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M8 5v14l11-7L8 5z')
  end
end

#two_toneObject



49
50
51
52
53
54
55
56
57
58
# File 'lib/phlex-icons/material/play_arrow.rb', line 49

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M10 8.64v6.72L15.27 12z', opacity: '.3')
    s.path(d: 'm8 19 11-7L8 5v14zm2-10.36L15.27 12 10 15.36V8.64z')
  end
end