⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rectobj.java

📁 Welcome to MS4W, the no fuss installer for setting up MapServer on Microsoft Windows platforms. The
💻 JAVA
字号:
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version: 1.3.21 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package edu.umn.gis.mapscript;public class rectObj {  private long swigCPtr;  protected boolean swigCMemOwn;  protected rectObj(long cPtr, boolean cMemoryOwn) {    swigCMemOwn = cMemoryOwn;    swigCPtr = cPtr;  }  protected rectObj() {    this(0, false);  }  protected void finalize() {    delete();  }  public void delete() {    if(swigCPtr != 0 && swigCMemOwn) {      swigCMemOwn = false;      mapscriptJNI.delete_rectObj(swigCPtr);    }    swigCPtr = 0;  }  protected static long getCPtr(rectObj obj) {    return (obj == null) ? 0 : obj.swigCPtr;  }  public void setMinx(double minx) {    mapscriptJNI.set_rectObj_minx(swigCPtr, minx);  }  public double getMinx() {    return mapscriptJNI.get_rectObj_minx(swigCPtr);  }  public void setMiny(double miny) {    mapscriptJNI.set_rectObj_miny(swigCPtr, miny);  }  public double getMiny() {    return mapscriptJNI.get_rectObj_miny(swigCPtr);  }  public void setMaxx(double maxx) {    mapscriptJNI.set_rectObj_maxx(swigCPtr, maxx);  }  public double getMaxx() {    return mapscriptJNI.get_rectObj_maxx(swigCPtr);  }  public void setMaxy(double maxy) {    mapscriptJNI.set_rectObj_maxy(swigCPtr, maxy);  }  public double getMaxy() {    return mapscriptJNI.get_rectObj_maxy(swigCPtr);  }  public rectObj(double minx, double miny, double maxx, double maxy, int imageunits) {    this(mapscriptJNI.new_rectObj(minx, miny, maxx, maxy, imageunits), true);  }  public int project(projectionObj projin, projectionObj projout) {    return mapscriptJNI.rectObj_project(swigCPtr, projectionObj.getCPtr(projin), projectionObj.getCPtr(projout));  }  public double fit(int width, int height) {    return mapscriptJNI.rectObj_fit(swigCPtr, width, height);  }  public int draw(mapObj map, layerObj layer, imageObj image, int classindex, String text) {    return mapscriptJNI.rectObj_draw(swigCPtr, mapObj.getCPtr(map), layerObj.getCPtr(layer), imageObj.getCPtr(image), classindex, text);  }  public shapeObj toPolygon() {    long cPtr = mapscriptJNI.rectObj_toPolygon(swigCPtr);    return (cPtr == 0) ? null : new shapeObj(cPtr, true);  }  public String toString() {    return mapscriptJNI.rectObj_toString(swigCPtr);  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -