# frozen_string_literal: false # Trident hash configurations. # # These methods should never need to be called directly. # @private module USPSFlags::Core::Icons::TridentParts module Hashes def delta_hash <<~SVG SVG end def delta_mask_points(center, height, bottom) top = @top_point + height - bottom <<~SVG #{center}, #{top - @trident_config[:delta_height]} #{center + @trident_config[:width] / 2}, #{top} #{center - @trident_config[:width] / 2}, #{top} #{center}, #{top - @trident_config[:delta_height]} SVG end def delta_points(center, height, bottom) top = @top_point + height - bottom - @trident_config[:delta_height] mid = @top_point + height - bottom * 17 / 20 <<~SVG #{center}, #{top} #{center + @trident_config[:width] / 2}, #{mid} #{center - @trident_config[:width] / 2}, #{mid} #{center}, #{top} SVG end def circle_hash center = @trident_config[:center_point] <<~SVG SVG end def standard_hash svg = "\n" svg end end end