Class: PhlexIcons::Flag::Ai
- Defined in:
- lib/phlex-icons/flag/ai.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PhlexIcons::Base
Instance Method Details
#rectangle ⇒ Object
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/phlex-icons/flag/ai.rb', line 41 def rectangle svg( **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 640 480), 'xmlns:xlink': %(http://www.w3.org/1999/xlink) ) do |s| s.defs do s.path(id: %(ai-b), fill: %(#f90), d: %(M271 87c1.5 3.6 6.5 7.6 7.8 9.6-1.7 2-2 1.8-1.8 5.4 3-3.1 3-3.5 5-3 4.2 4.2.8 13.3-2.8 15.3-3.4 2.1-2.8 0-8 2.6 2.3 2 5.1-.3 7.4.3 1.2 1.5-.6 4.1.4 6.7 2-.2 1.8-4.3 2.2-5.8 1.5-5.4 10.4-9.1 10.8-14.1 1.9-.9 3.7-.3 6 1-1.1-4.6-4.9-4.6-5.9-6-2.4-3.7-4.5-7.8-9.6-9-3.8-.7-3.5.3-6-1.4-1.6-1.2-6.3-3.4-5.5-1.6)) end s.clipPath(id: %(ai-a)) do s.path(d: %(M0 0v120h373.3v120H320zm320 0H160v280H0v-40z)) end s.path(fill: %(#012169), d: %(M0 0h640v480H0z)) s.path(stroke: %(#fff), stroke_width: %(50), d: %(m0 0 320 240m0-240L0 240)) s.path(stroke: %(#c8102e), stroke_width: %(30), d: %(m0 0 320 240m0-240L0 240), clip_path: %(url(#ai-a))) s.path(stroke: %(#fff), stroke_width: %(75), d: %(M160 0v280M0 120h373.3)) s.path(stroke: %(#c8102e), stroke_width: %(50), d: %(M160 0v280M0 120h373.3)) s.path(fill: %(#012169), d: %(M0 240h320V0h106.7v320H0z)) s.path(fill: %(#fff), d: %(M424 191.8c0 90.4 9.7 121.5 29.3 142.5a179 179 0 0 0 35 30 180 180 0 0 0 35-30c19.5-21 29.3-52.1 29.3-142.5-14.2 6.5-22.3 9.7-34 9.5a78 78 0 0 1-30.3-9.5 78 78 0 0 1-30.3 9.5c-11.7.2-19.8-3-34-9.5)) s.g(transform: %(matrix(1.96 0 0 2.002 -40.8 62.9))) do s.use('xlink:href': %(#ai-b)) s.circle(cx: %(281.3), cy: %(91.1), r: %(.8), fill: %(#fff), fill_rule: %(evenodd)) end s.g(transform: %(matrix(-.916 -1.77 1.733 -.935 563.4 829))) do s.use('xlink:href': %(#ai-b)) s.circle(cx: %(281.3), cy: %(91.1), r: %(.8), fill: %(#fff), fill_rule: %(evenodd)) end s.g(transform: %(matrix(-1.01 1.716 -1.68 -1.031 925.4 -103.2))) do s.use('xlink:href': %(#ai-b)) s.circle(cx: %(281.3), cy: %(91.1), r: %(.8), fill: %(#fff), fill_rule: %(evenodd)) end s.path(fill: %(#9cf), d: %(M440 315.1a78 78 0 0 0 13.3 19.2 179 179 0 0 0 35 30 180 180 0 0 0 35-30 78 78 0 0 0 13.2-19.2z)) s.path(fill: %(#fdc301), d: %(M421.2 188.2c0 94.2 10.2 126.6 30.6 148.5a187 187 0 0 0 36.5 31.1 186 186 0 0 0 36.4-31.1c20.4-21.9 30.6-54.3 30.6-148.5-14.8 6.8-23.3 10.1-35.5 10-11-.3-22.6-5.7-31.5-10-9 4.3-20.6 9.7-31.5 10-12.3.1-20.7-3.2-35.6-10m4 5c14 6.5 22 9.6 33.5 9.4a76 76 0 0 0 29.6-9.4c8.4 4 19.3 9.2 29.6 9.4 11.5.2 19.4-3 33.4-9.4 0 89-9.6 119.6-28.8 140.2a176 176 0 0 1-34.2 29.4 176 176 0 0 1-34.3-29.4c-19.2-20.6-28.7-51.3-28.7-140.2z)) end end |
#square ⇒ Object
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 36 37 38 39 |
# File 'lib/phlex-icons/flag/ai.rb', line 7 def square svg( **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 512 512), 'xmlns:xlink': %(http://www.w3.org/1999/xlink) ) do |s| s.defs do s.path(id: %(ai-b), fill: %(#f90), d: %(M271 87c1.5 3.6 6.5 7.6 7.8 9.6-1.7 2-2 1.8-1.8 5.4 3-3.1 3-3.5 5-3 4.2 4.2.8 13.3-2.8 15.3-3.4 2.1-2.8 0-8 2.6 2.3 2 5.1-.3 7.4.3 1.2 1.5-.6 4.1.4 6.7 2-.2 1.8-4.3 2.2-5.8 1.5-5.4 10.4-9.1 10.8-14.1 1.9-.9 3.7-.3 6 1-1.1-4.6-4.9-4.6-5.9-6-2.4-3.7-4.5-7.8-9.6-9-3.8-.7-3.5.3-6-1.4-1.6-1.2-6.3-3.4-5.5-1.6)) end s.clipPath(id: %(ai-a)) do s.path(d: %(M0 0v128h298.7v128H256zm256 0H128v298.7H0V256z)) end s.path(fill: %(#012169), d: %(M0 0h512v512H0z)) s.path(stroke: %(#fff), stroke_width: %(50), d: %(m0 0 256 256m0-256L0 256)) s.path(stroke: %(#c8102e), stroke_width: %(30), d: %(m0 0 256 256m0-256L0 256), clip_path: %(url(#ai-a))) s.path(stroke: %(#fff), stroke_width: %(75), d: %(M128 0v298.7M0 128h298.7)) s.path(stroke: %(#c8102e), stroke_width: %(50), d: %(M128 0v298.7M0 128h298.7)) s.path(fill: %(#012169), d: %(M0 256h256V0h85.3v341.3H0z)) s.path(fill: %(#fff), d: %(M323.6 224.1c0 90.4 9.8 121.5 29.4 142.5a179 179 0 0 0 35 30 180 180 0 0 0 35-30c19.5-21 29.3-52.1 29.3-142.5-14.2 6.5-22.3 9.7-34 9.5a78 78 0 0 1-30.3-9.5 78 78 0 0 1-30.3 9.5c-11.7.2-19.8-3-34-9.5z)) s.g(transform: %(matrix(1.96 0 0 2.002 -141.1 95.2))) do s.use('xlink:href': %(#ai-b)) s.circle(cx: %(281.3), cy: %(91.1), r: %(.8), fill: %(#fff), fill_rule: %(evenodd)) end s.g(transform: %(matrix(-.916 -1.77 1.733 -.935 463.1 861.4))) do s.use('xlink:href': %(#ai-b)) s.circle(cx: %(281.3), cy: %(91.1), r: %(.8), fill: %(#fff), fill_rule: %(evenodd)) end s.g(transform: %(matrix(-1.01 1.716 -1.68 -1.031 825 -71))) do s.use('xlink:href': %(#ai-b)) s.circle(cx: %(281.3), cy: %(91.1), r: %(.8), fill: %(#fff), fill_rule: %(evenodd)) end s.path(fill: %(#9cf), d: %(M339.8 347.4a78 78 0 0 0 13.2 19.2 179 179 0 0 0 35 30 180 180 0 0 0 35-30 78 78 0 0 0 13.2-19.2z)) s.path(fill: %(#fdc301), d: %(M321 220.5c0 94.2 10.1 126.6 30.5 148.5a187 187 0 0 0 36.5 31 186 186 0 0 0 36.4-31.1C444.8 347 455 314.7 455 220.5c-14.8 6.8-23.3 10.1-35.5 10-11-.3-22.6-5.7-31.5-10-9 4.3-20.6 9.7-31.5 10-12.3.1-20.7-3.2-35.6-10zm4 5c13.9 6.5 21.9 9.6 33.4 9.4a76 76 0 0 0 29.6-9.4c8.4 4 19.3 9.2 29.6 9.4 11.5.2 19.4-3 33.4-9.4 0 89-9.6 119.6-28.8 140.2a176 176 0 0 1-34.2 29.4 176 176 0 0 1-34.3-29.4c-19.2-20.6-28.7-51.3-28.7-140.2)) end end |