Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > Bounds.js (source view)
Search:
 
Filters
/**
 * OpenLayers Bounds<br/>
 * 영역 박스를 나타내는 클래스.
 * @class Bounds
 * @constructor
 * @namespace OpenLayers
 * @param {Number} left
 * @param {Number} bottom
 * @param {Number} right
 * @param {Number} top
 */
OpenLayers.Bounds = OpenLayers.Class({
	
	/**
	* @method toString
	* @return {String} bounds string
	*/
	toString: function(){},
	/**
	* @method toArray
	* @return {Array} left,bottom,right,top
	*/
	toArray: function(reverseAxisOrder){},
	/**
	* 받은 pixel과의 거리계산.
	* @method toBBOX
	* @param {Integer} decimal 유효 자리수. 디폴트 6
	* @param {Boolean} reverseAxisOrder 축을 반대로 할 것인지
	* @return {String} "min x,min y,max x,max y"
	*/
	toBBOX: function(decimal,reverseAxisOrder){},
	/**
	* 새로운 폴리곤 지오메트리 생성 후 반환
	* @method toGeometry
	* @return {OpenLayers.Geometry.Polygon} new polygon
	*/
	toGeometry: function(){},
	/**
	* @method getWidth
	* @return {Float} width
	*/
	getWidth: function(){},
	/**
	* @method getHeight
	* @return {Float} height
	*/
	getHeight: function(){},
	/**
	* @method getSize
	* @return {OpenLayers.Size} size
	*/
	getSize: function(){},
	/**
	* @method getCenterPixel
	* @return {OPenLayers.Pixel} bounds center
	*/
	getCenterPixel: function(){},
	/**
	* @method getCetnerLonLat
	* @return {OPenLayers.LonLat} bounds center
	*/
	getCetnerLonLat: function(){},
	/**
	* @method scale
	* @param {Float} ratio
	* @param {origin} {OpenLayers.Pixel | OpenLayers.LonLat} origin 디폴트 center
	* @return {OpenLayers.Bounds} new Bounds
	*/
	scale: function(ratio,origin){},
	/**
	* x,y 추가 후 새로운 bounds 반환
	* @method add
	* @param {Float} x
	* @param {Float} y
	* @return {OpenLayers.Bounds} new bounds
	*/
	add: function(x, y){},
	/**
	* @method extend
	* @param {Object} LonLat,Point,Bounds
	* @return {OpenLayers.Bounds} new Bounds
	*/
	extend: function(object){},
	/**
	* @method containsLonLat
	* @param {OpenLayers.LonLat} ll
	* @param {Boolean} inclusive border 포함 할지 안할지. 기본 true
	* @return {Boolean} 포함되는지
	*/
	containsLonLat: function(ll,inclusive){},
	/**
	* @method containsPixel
	* @param {OpenLayers.Pixel} px
	* @param {Boolean} inclusive border 포함 할지 안할지. 기본 true
	* @return {Boolean} 포함되는지
	*/
	containsPixel: function(px,inclusive){},
	/**
	* @method contains
	* @param {Float} x
	* @param {Float} y
	* @param {Boolean} inclusive border 포함 할지 안할지. 기본 true
	* @return {Boolean} 포함되는지
	*/
	contains: function(x,y,inclusive){},
	/**
	* @method intersectsBounds
	* @param {OpenLayers.Bounds} bounds 
	* @param {Boolean} inclusive border 포함 할지 안할지. 기본 true
	* @return {Boolean} 교차하는지
	*/
	intersectsBounds: function(bounds,inclusive){},
	/**
	* @method containsBounds
	* @param {OpenLayers.Bounds} bounds
	* @param {Boolean} partial 타겟 코너 중에 어떤 것 이라도 bounds 안에 있어 포함되었다고 할려면 true. 디폴트 false. target bounds 전체가 반드시 bounds에 포함해야 한다면 false
	* @param {Boolean} inclusive
	*/
	containsBounds: function(bounds,partial,inclusive){},
	/**
	* 어떤 사분면인지
	* @method determineQuadrant
	* @param {OpenLayers.LonLat} lonlat
	* @return {String} 해당하는 사분면 ("br","tr","tl","bl")
	*/
	determineQuadrant: function(lonlat) {},
	/**
	* @method transform
	* @param {OpenLayers.Projection} source
	* @param {OpenLayers.Projection} dest
	*/
	transform: function(source,dest){},
	/**
	* @method wrapDateLine
	* @param {OpenLayers.Bounds} maxExtent
	* @param {Object} options
	* @return {OpenLayers.Bounds} bounds
	*/
	wrapDateLine: function(maxExtent,options),
	/**
	* @method fromString
	* @static
	* @param {String} str "min x, min y, max x, max y"
	* @param {Boolean} reverseAxisOrder reverse axis
	* @return {OpenLayers.Bounds} new bounds
	*/
	OpenLayers.Bounds.fromString: function(str,reverseAxisOrder){},
	/**
	* @method fromArray
	* @static
	* @param {Array(Float)} [min x, min y, max x, max y]
	* @param {Boolean} reverseAxisOrder reverse axis
	* @return {OpenLayers.Bounds} new bounds
	*/
	OpenLayers.Bounds.fromArray: function(bbox,reverseAxisOrder){},
	/**
	* @method fromSize
	* @static
	* @param {OpenLayers.Size} size
	* @return {OpenLayers.Bounds} new bounds
	*/
	OpenLayers.Bounds.fromSize: function(size){}
})

Copyright © 2012 Yahoo! Inc. All rights reserved.