Sha256: 29d86575511103c1442c088811918395d9ef28e1c63a0ed5a9d742c961b6b387
Contents?: true
Size: 688 Bytes
Versions: 22
Compression:
Stored size: 688 Bytes
Contents
# ----------------------------------------------------------------------------- # Draws things in a circular layout. This is an abstract class and should not # be used directly. # # Author:: Fernand Galiana # ----------------------------------------------------------------------------- require 'ziya/gauges/support/base' module Ziya::Gauges::Support class RadialBase < Base has_attribute :x, :y, :radius, :start_angle, :end_angle, :ticks, :color, :alpha # ========================================================================= protected # converts degrees to radiant def deg2rad( degrees ) degrees * Math::PI / 180 end end end
Version data entries
22 entries across 22 versions & 2 rubygems