Class Offset

  extended by _global_.Array
      extended by _global_.Offset

public class Offset
extends Array

An offset is a two-element array, where the first element is the X coordinate, and the second the Y coordinate.

For example, zk(el).cmOffset(); returns an offset.

var ofs = zk(el).cmOffset();
zk.log("x,y = " + ofs[0] + "," + ofs[1]);

See Also:

Method Summary
Methods inherited from class _global_.Array
$addAll, $clone, $contains, $equals, $indexOf, $remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo