_global_
Class Size

java.lang.Object
  extended by _global_.Array
      extended by _global_.Size

public class Size
extends Array

A size is a two-element array, where the first element is the width, and the second the height.

For example, zk(el).textSize() returns a size.


var sz = zk(el).textSize();
zk.log("w,h = " + sz[0] + "," + sz[1]);

Author:
tomyeh

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