Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/fx/_core.js

  • Provides:

    • dojox.fx._core
  • dojox.fx._Line

    • parameters:
      • start: (typeof Integer|Array)
        An Integer (or an Array of integers) to use as a starting point
      • end: (typeof Integer|Array)
        An Integer (or an Array of integers) to use as an ending point
    • returns
      Array|Decimal
    • summary
      a custom _Line to accomodate multi-dimensional values
    • description
      a normal dojo._Line is the curve, and does Line(start,end)
      for propertyAnimation. as we make more complicatied animations, we realize
      some properties can have 2, or 4 values relevant (x,y) or (t,l,r,b) for example
      
      this function provides support for those Lines, and is ported directly from 0.4
      this is a lot of extra code for something so seldom used, so we'll put it here as
      and optional core addition. you can create a new line, and use it during onAnimate
      as you see fit.
    • example
      see dojox.fx.smoothScroll
    • example
      	// this is 10 .. 100 and 50 .. 500
      	var curve = new dojox.fx._Line([10,50],[100,500]);
      	// dojo.Animation.onAnimate is called at every step of the animation
      	// to define current values. this _Line returns an array
       	// at each step. arguments[0] and [1] in this example.
    • type
      Function
  • dojox.fx._Line.start

    • type
      Integer|Array
    • summary
      An Integer (or an Array of integers) to use as a starting point
  • dojox.fx._Line.end

    • type
      Integer|Array
    • summary
      An Integer (or an Array of integers) to use as an ending point
  • dojox.fx._Line.getValue

    • parameters:
      • n: (typeof float)
        a floating point number greater than 0 and less than 1
    • returns
      Array|Decimal
    • summary
      Returns the point on the line, or an array of points
    • return_summary
      Mixed
    • type
      Function
  • dojox.fx._core

    • type
      Object
  • dojox.fx

    • type
      Object
  • dojox

    • type
      Object