class GerbilCharts::SVGDC::TTranslate
Attributes
tx[RW]
ty[RW]
Public Class Methods
new(tx,ty)
click to toggle source
Calls superclass method
# File lib/gerbilcharts/svgdc/transformations.rb, line 20 def initialize(tx,ty) super() @tx,@ty=tx,ty end
Public Instance Methods
render()
click to toggle source
# File lib/gerbilcharts/svgdc/transformations.rb, line 25 def render "translate(#{@tx} #{@ty}) " end