Sha256: bfb04bd5eff92a6d3cd0b4d6963fa57fb157ad190c79335dbeac4a078d1c9e1a

Contents?: true

Size: 625 Bytes

Versions: 8

Compression:

Stored size: 625 Bytes

Contents

require_relative 'arg_loader'

module Squib
  # @api private
  module Args

    class Coords
      include ArgLoader

      def self.parameters
        { x: 0,    y: 0,
          x1: 100, y1: 100,
          x2: 150, y2: 150,
          x3: 100, y3: 150,
          cx1: 0 , cy1: 0,
          cx2: 0 , cy2: 0,
          inner_radius: 50, outer_radius: 100,
          radius: 100,
          n: 5, }
      end

      def self.expanding_parameters
        parameters.keys # all of them
      end

      def self.params_with_units
        parameters.keys # all of them
      end

    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
squib-0.13.4 lib/squib/args/coords.rb
squib-0.13.3 lib/squib/args/coords.rb
squib-0.13.2 lib/squib/args/coords.rb
squib-0.13.1 lib/squib/args/coords.rb
squib-0.13.0 lib/squib/args/coords.rb
squib-0.12.0 lib/squib/args/coords.rb
squib-0.11.0 lib/squib/args/coords.rb
squib-0.10.0 lib/squib/args/coords.rb