Class: PhlexIcons::Flag::Uy
- Defined in:
- lib/phlex-icons/flag/uy.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
40 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 |
# File 'lib/phlex-icons/flag/uy.rb', line 40 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.path(fill: %(#fff), d: %(M0 0h640v480H0z)) s.path(fill: %(#0038a8), d: %(M266 53.3h374v53.4H266zm0 106.7h374v53.3H266zM0 266.7h640V320H0zm0 106.6h640v53.4H0z)) s.g(fill: %(#fcd116), stroke: %(#000), stroke_miterlimit: %(20), stroke_width: %(.6), transform: %(translate(133.3 133.3)scale(2.93333))) do s.g(id: %(uy-c)) do s.g(id: %(uy-b)) do s.g(id: %(uy-a)) do s.path(stroke_linecap: %(square), d: %(m-2 8.9 3 4.5c-12.4 9-4.9 14.2-13.6 17 5.4-5.2-.9-5.7 3.7-16.8)) s.path(fill: %(none), d: %(M-4.2 10.2c-6.8 11.2-2.4 17.4-8.4 20.3)) s.path(d: %(M0 0h6L0 33-6 0h6v33)) end s.use('xlink:href': %(#uy-a), width: %(100%), height: %(100%), transform: %(rotate(45))) end s.use('xlink:href': %(#uy-b), width: %(100%), height: %(100%), transform: %(rotate(90))) end s.use('xlink:href': %(#uy-c), width: %(100%), height: %(100%), transform: %(scale(-1))) s.circle(r: %(11)) end s.g(transform: %(translate(133.3 133.3)scale(.29333))) do s.g(id: %(uy-d)) do s.path(d: %(M81-44c-7 8-11-6-36-6S16-35 12-38s21-21 29-22 31 7 40 16m-29 9c7 6 1 19-6 19S26-28 32-36)) s.path(d: %(M19-26c1-12 11-14 27-14s23 12 29 15c-7 0-13-10-29-10s-16 0-27 10m3 2c4-6 9 6 20 6s17-3 24-8-10 12-21 12-26-6-23-10)) s.path(d: %(M56-17c13-7 5-17 0-19 2 2 10 12 0 19M0 43c6 0 8-2 16-2s27 11 38 7c-23 9-14 3-54 3h-5m63 6c-4-7-3-5-11-16 8 6 10 9 11 16M0 67c25 0 21-5 54-19-24 3-29 11-54 11h-5m5-29c7 0 9-5 17-5s19 3 24 7c1 1-3-8-11-9S25 9 16 7c0 4 3 3 4 9 0 5-9 5-11 0 2 8-4 8-9 8)) end s.use('xlink:href': %(#uy-d), width: %(100%), height: %(100%), transform: %(scale(-1 1))) s.path(d: %(M0 76c-5 0-18 3 0 3s5-3 0-3)) end 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 |
# File 'lib/phlex-icons/flag/uy.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.path(fill: %(#fff), d: %(M0 0h512v512H0z)) s.path(fill: %(#0038a8), d: %(M284 56.9h228v56.9H284zm0 113.8h228v56.9H284zM0 284.4h512v57H0zm0 113.8h512v57H0z)) s.g(fill: %(#fcd116), stroke: %(#000), stroke_miterlimit: %(20), stroke_width: %(.6), transform: %(translate(142.2 142.2)scale(3.12889))) do s.g(id: %(uy-c)) do s.g(id: %(uy-b)) do s.g(id: %(uy-a)) do s.path(stroke_linecap: %(square), d: %(m-2 8.9 3 4.5c-12.4 9-4.9 14.2-13.6 17 5.4-5.2-.9-5.7 3.7-16.8)) s.path(fill: %(none), d: %(M-4.2 10.2c-6.8 11.2-2.4 17.4-8.4 20.3)) s.path(d: %(M0 0h6L0 33-6 0h6v33)) end s.use('xlink:href': %(#uy-a), width: %(100%), height: %(100%), transform: %(rotate(45))) end s.use('xlink:href': %(#uy-b), width: %(100%), height: %(100%), transform: %(rotate(90))) end s.use('xlink:href': %(#uy-c), width: %(100%), height: %(100%), transform: %(scale(-1))) s.circle(r: %(11)) end s.g(transform: %(translate(142.2 142.2)scale(.31289))) do s.g(id: %(uy-d)) do s.path(d: %(M81-44c-7 8-11-6-36-6S16-35 12-38s21-21 29-22 31 7 40 16m-29 9c7 6 1 19-6 19S26-28 32-36)) s.path(d: %(M19-26c1-12 11-14 27-14s23 12 29 15c-7 0-13-10-29-10s-16 0-27 10m3 2c4-6 9 6 20 6s17-3 24-8-10 12-21 12-26-6-23-10)) s.path(d: %(M56-17c13-7 5-17 0-19 2 2 10 12 0 19M0 43c6 0 8-2 16-2s27 11 38 7c-23 9-14 3-54 3h-5m63 6c-4-7-3-5-11-16 8 6 10 9 11 16M0 67c25 0 21-5 54-19-24 3-29 11-54 11h-5m5-29c7 0 9-5 17-5s19 3 24 7c1 1-3-8-11-9S25 9 16 7c0 4 3 3 4 9 0 5-9 5-11 0 2 8-4 8-9 8)) end s.use('xlink:href': %(#uy-d), width: %(100%), height: %(100%), transform: %(scale(-1 1))) s.path(d: %(M0 76c-5 0-18 3 0 3s5-3 0-3)) end end end |