Class: PhlexIcons::Material::Policy

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



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/phlex-icons/material/policy.rb', line 7

def filled
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'm21 5-9-4-9 4v6c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12a4.994 4.994 0 0 1-6.29-.64 5.003 5.003 0 0 1 0-7.07 5.003 5.003 0 0 1 7.07 0 5.006 5.006 0 0 1 .64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11V5z'
    )
    s.circle(cx: '12', cy: '12', r: '3')
  end
end

#outlinedObject



21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/phlex-icons/material/policy.rb', line 21

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29 5.003 5.003 0 0 0-7.07 0 5.003 5.003 0 0 0 0 7.07 5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11 7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z'
    )
  end
end

#roundObject



34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/phlex-icons/material/policy.rb', line 34

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M21 6.3c0-.79-.47-1.51-1.19-1.83l-7-3.11c-.52-.23-1.11-.23-1.62 0l-7 3.11C3.47 4.79 3 5.51 3 6.3V11c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12a4.994 4.994 0 0 1-6.29-.64 5.003 5.003 0 0 1 0-7.07 5.003 5.003 0 0 1 7.07 0 5.006 5.006 0 0 1 .64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11V6.3z'
    )
    s.circle(cx: '12', cy: '12', r: '3')
  end
end

#sharpObject



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

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'm21 5-9-4-9 4v6c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12a4.994 4.994 0 0 1-6.29-.64 5.003 5.003 0 0 1 0-7.07 5.003 5.003 0 0 1 7.07 0 5.006 5.006 0 0 1 .64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11V5z'
    )
    s.circle(cx: '12', cy: '12', r: '3')
  end
end

#two_toneObject



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/phlex-icons/material/policy.rb', line 62

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M5 6.3V11c0 4.52 2.98 8.69 7 9.93 1.74-.53 3.28-1.62 4.47-3.04l-1.72-1.72a4.994 4.994 0 0 1-6.29-.64 5.003 5.003 0 0 1 0-7.07 5.003 5.003 0 0 1 7.07 0 5.006 5.006 0 0 1 .64 6.29l1.45 1.45C18.49 14.65 19 12.85 19 11V6.3l-7-3.11L5 6.3z',
      opacity: '.3'
    )
    s.path(
      d:
        'M12 1 3 5v6c0 5.55 3.84 10.74 9 12 .65-.16 1.27-.38 1.87-.65 1.8-.82 3.36-2.13 4.57-3.74C20.04 16.46 21 13.77 21 11V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29 5.003 5.003 0 0 0-7.07 0 5.003 5.003 0 0 0 0 7.07 5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11 7 3.11V11zm-4 1c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z'
    )
  end
end