📄 scalebarobj.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 scalebarObj { private long swigCPtr; protected boolean swigCMemOwn; protected scalebarObj(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected void finalize() { delete(); } public void delete() { if(swigCPtr != 0 && swigCMemOwn) { swigCMemOwn = false; mapscriptJNI.delete_scalebarObj(swigCPtr); } swigCPtr = 0; } protected static long getCPtr(scalebarObj obj) { return (obj == null) ? 0 : obj.swigCPtr; } public void setImagecolor(colorObj imagecolor) { mapscriptJNI.set_scalebarObj_imagecolor(swigCPtr, colorObj.getCPtr(imagecolor)); } public colorObj getImagecolor() { long cPtr = mapscriptJNI.get_scalebarObj_imagecolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setHeight(int height) { mapscriptJNI.set_scalebarObj_height(swigCPtr, height); } public int getHeight() { return mapscriptJNI.get_scalebarObj_height(swigCPtr); } public void setWidth(int width) { mapscriptJNI.set_scalebarObj_width(swigCPtr, width); } public int getWidth() { return mapscriptJNI.get_scalebarObj_width(swigCPtr); } public void setStyle(int style) { mapscriptJNI.set_scalebarObj_style(swigCPtr, style); } public int getStyle() { return mapscriptJNI.get_scalebarObj_style(swigCPtr); } public void setIntervals(int intervals) { mapscriptJNI.set_scalebarObj_intervals(swigCPtr, intervals); } public int getIntervals() { return mapscriptJNI.get_scalebarObj_intervals(swigCPtr); } public void setLabel(labelObj label) { mapscriptJNI.set_scalebarObj_label(swigCPtr, labelObj.getCPtr(label)); } public labelObj getLabel() { long cPtr = mapscriptJNI.get_scalebarObj_label(swigCPtr); return (cPtr == 0) ? null : new labelObj(cPtr, false); } public void setColor(colorObj color) { mapscriptJNI.set_scalebarObj_color(swigCPtr, colorObj.getCPtr(color)); } public colorObj getColor() { long cPtr = mapscriptJNI.get_scalebarObj_color(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setBackgroundcolor(colorObj backgroundcolor) { mapscriptJNI.set_scalebarObj_backgroundcolor(swigCPtr, colorObj.getCPtr(backgroundcolor)); } public colorObj getBackgroundcolor() { long cPtr = mapscriptJNI.get_scalebarObj_backgroundcolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setOutlinecolor(colorObj outlinecolor) { mapscriptJNI.set_scalebarObj_outlinecolor(swigCPtr, colorObj.getCPtr(outlinecolor)); } public colorObj getOutlinecolor() { long cPtr = mapscriptJNI.get_scalebarObj_outlinecolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setUnits(int units) { mapscriptJNI.set_scalebarObj_units(swigCPtr, units); } public int getUnits() { return mapscriptJNI.get_scalebarObj_units(swigCPtr); } public void setStatus(int status) { mapscriptJNI.set_scalebarObj_status(swigCPtr, status); } public int getStatus() { return mapscriptJNI.get_scalebarObj_status(swigCPtr); } public void setPosition(int position) { mapscriptJNI.set_scalebarObj_position(swigCPtr, position); } public int getPosition() { return mapscriptJNI.get_scalebarObj_position(swigCPtr); } public void setPostlabelcache(int postlabelcache) { mapscriptJNI.set_scalebarObj_postlabelcache(swigCPtr, postlabelcache); } public int getPostlabelcache() { return mapscriptJNI.get_scalebarObj_postlabelcache(swigCPtr); } public scalebarObj() { this(mapscriptJNI.new_scalebarObj(), true); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -