X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_lib_Point.js.html;fp=docs%2Fsrc%2FRoo_lib_Point.js.html;h=f40c1b8147204a21b68f4453e73ecf385151dabc;hb=9ff8ded6bbbd258ecd646184ba26020874e2c085;hp=0000000000000000000000000000000000000000;hpb=2542b67d1a0768025056f2f330bfe50b64d1ad38;p=roojs1 diff --git a/docs/src/Roo_lib_Point.js.html b/docs/src/Roo_lib_Point.js.html new file mode 100644 index 0000000000..f40c1b8147 --- /dev/null +++ b/docs/src/Roo_lib_Point.js.html @@ -0,0 +1,22 @@ +/home/alan/gitlive/roojs1/Roo/lib/Point.js/* + * Portions of this file are based on pieces of Yahoo User Interface Library + * Copyright (c) 2007, Yahoo! Inc. All rights reserved. + * YUI licensed under the BSD License: + * http://developer.yahoo.net/yui/license.txt + * <script type="text/javascript"> + * + */ +//@@dep Roo.lib.Region + + +Roo.lib.Point = function(x, y) { + if (x instanceof Array) { + y = x[1]; + x = x[0]; + } + this.x = this.right = this.left = this[0] = x; + this.y = this.top = this.bottom = this[1] = y; +}; + +Roo.lib.Point.prototype = new Roo.lib.Region(); + \ No newline at end of file