Sha256: 41fde4206ad27901ab83af34a8d6b9eaa53346c6bd6e14781817df06896f4f78
Contents?: true
Size: 569 Bytes
Versions: 38
Compression:
Stored size: 569 Bytes
Contents
# Core SVG data for stars. # # This class should never need to be called directly. # @private class USPSFlags::Core::Star def svg points = [ [117.555, 81.805], [-41.47, -137.085], [114.125, -86.525], [-143.185, -2.915], [-47.025, -135.28], [-47.025, 135.28], [-143.185, 2.915], [114.125, 86.525], [-41.47, 137.085], [117.555, -81.805] ] svg = "<path d=\"M 0 0\n" points.each do |x, y| svg << "l #{x} #{y}\n" end svg << "\" fill=\"#FFFFFF\" />\n" svg end end
Version data entries
38 entries across 38 versions & 1 rubygems