语法
ASP.NET Ajax Javascript (Specification) | |
---|---|
SuperMap.Web.Core.Rectangle = function( left : Integer, top : Integer, right : Integer, bottom : Integer ) {}; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var instanceVar = new SuperMap.Web.Core.Rectangle(Integer,Integer,Integer,Integer); |
参数
- left
- 像素坐标系下矩形左边界的 x 坐标值。
- top
- 像素坐标系下矩形上边界的 y 坐标值。
- right
- 像素坐标系下矩形右边界的 x 坐标值。
- bottom
- 像素坐标系下矩形下边界的 y 坐标值。
备注
在构造矩形对象时,左边界值应小于右边界值,下边界值应小于上边界值。
需求
操作系统: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
浏览器: Internet Explorer 6 以上