Sha256: 1457cd3236b0e33556c2ffa3d6d87bfd41808b99d1c657c7aebc53f0ca261c6e

Contents?: true

Size: 622 Bytes

Versions: 6

Compression:

Stored size: 622 Bytes

Contents

# GAUGE IDEAS ??

css_parser for ruby

gauge = Ziya::Gauges::Base.new( :id => 'volume' )
gauge.add( Ziya::Gauges::Support::RadialTicks.new( :id => 'ticks' ) )

gauge 'volume'
radial_ticks 'volume_ticks'
rotate( circle( :circle_1), circle( :circle_2 ) )

    
gauge#volume {
  x:      100;
  y:      100;
  radius: 35;
}

gauge#volume rotate {
  x: 100;
  y:  75;
}

gauge = Ziya::Gauges::Base.new( :id => "fred" )
gauge.add( :ticks,  :volume_ticks )
gauge.add( :circle, :circle_1 )
gauge.add( :circle, :circle_2 )
gauge.add( :rotate, :circle_1, :circle_2 )
gauge.to_xml

gauge#fred {
}

gauge#fred circle#volume_ticks {

}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ziya-2.0.0 fred.rb
ziya-2.0.1 fred.rb
ziya-2.0.2 fred.rb
ziya-2.0.3 fred.rb
ziya-2.0.4 fred.rb
ziya-2.0.5 fred.rb