Class: USPSFlags::Core::Icons::Lighthouse

Inherits:
Object
  • Object
show all
Defined in:
lib/usps_flags/core/icons/lighthouse.rb

Instance Method Summary collapse

Instance Method Details

#svgObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/usps_flags/core/icons/lighthouse.rb', line 11

def svg
  "    <mask id=\"lighthouse-mask\">\n      <g>\n        <rect x=\"0\" y=\"0\" width=\"\#{USPSFlags::Config::BASE_FLY}\" height=\"\#{USPSFlags::Config::BASE_FLY}\" fill=\"#FFFFFF\" />\n        <rect x=\"1150\" y=\"540\" fill=\"#000000\" width=\"80\" height=\"140\" />\n        <rect x=\"1270\" y=\"540\" fill=\"#000000\" width=\"80\" height=\"140\" />\n        <polyline fill=\"#000000\" points=\"1065 690 1065 725 1075 725 1095 710 1095 690\" />\n        <polyline fill=\"#000000\" points=\"1405 690 1435 690 1435 725 1425 725 1405 710\" />\n        <polyline fill=\"#000000\" points=\"1065 760 1065 790 1085 775 1085 760\" />\n        <polyline fill=\"#000000\" points=\"1435 760 1415 760 1415 775 1435 790\" />\n      </g>\n    </mask>\n\n    <g mask=\"url(#lighthouse-mask)\">\n      <polyline fill=\"\#{USPSFlags::Config::RED}\" points=\"1100 475 1100 450 1200 400 1200 350 1300 350 1300 400 1400 450 1400 475\" />\n      <polyline fill=\"\#{USPSFlags::Config::RED}\" points=\"1050 800 1050 675 1100 675 1100 500 1400 500 1400 675 1450 675 1450 800\" />\n      <polyline fill=\"\#{USPSFlags::Config::RED}\" points=\"1050 825 1075 875 1425 875 1450 825\" />\n      <polyline fill=\"\#{USPSFlags::Config::RED}\" points=\"900 1500 1075 900 1425 900 1600 1500\" />\n      <polyline fill=\"\#{USPSFlags::Config::RED}\" points=\"900 1525 925 1575 1575 1575 1600 1525\" />\n    </g>\n  SVG\nend\n"