Class: USPSFlags::Core::Ensign

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

Instance Method Summary collapse

Instance Method Details

#svgObject



10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/usps_flags/core/ensign.rb', line 10

def svg
  <<~SVG
    #{stripes}
    #{canton}
    <g transform="scale(0.3675)">
      <g transform="translate(1200, 600)">
        <g transform="rotate(-45, 693, 1500)">
          #{USPSFlags::Core::Icons::Anchor.new(color: :white).svg}
        </g>
      </g>
    </g>
    #{star_circle}
  SVG
end