📄 styleobj.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 styleObj { private long swigCPtr; protected boolean swigCMemOwn; protected styleObj(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected styleObj() { this(0, false); } protected void finalize() { delete(); } public void delete() { if(swigCPtr != 0 && swigCMemOwn) { swigCMemOwn = false; mapscriptJNI.delete_styleObj(swigCPtr); } swigCPtr = 0; } protected static long getCPtr(styleObj obj) { return (obj == null) ? 0 : obj.swigCPtr; } public void setColor(colorObj color) { mapscriptJNI.set_styleObj_color(swigCPtr, colorObj.getCPtr(color)); } public colorObj getColor() { long cPtr = mapscriptJNI.get_styleObj_color(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setBackgroundcolor(colorObj backgroundcolor) { mapscriptJNI.set_styleObj_backgroundcolor(swigCPtr, colorObj.getCPtr(backgroundcolor)); } public colorObj getBackgroundcolor() { long cPtr = mapscriptJNI.get_styleObj_backgroundcolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setOutlinecolor(colorObj outlinecolor) { mapscriptJNI.set_styleObj_outlinecolor(swigCPtr, colorObj.getCPtr(outlinecolor)); } public colorObj getOutlinecolor() { long cPtr = mapscriptJNI.get_styleObj_outlinecolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setMincolor(colorObj mincolor) { mapscriptJNI.set_styleObj_mincolor(swigCPtr, colorObj.getCPtr(mincolor)); } public colorObj getMincolor() { long cPtr = mapscriptJNI.get_styleObj_mincolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setMaxcolor(colorObj maxcolor) { mapscriptJNI.set_styleObj_maxcolor(swigCPtr, colorObj.getCPtr(maxcolor)); } public colorObj getMaxcolor() { long cPtr = mapscriptJNI.get_styleObj_maxcolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setMinvalue(double minvalue) { mapscriptJNI.set_styleObj_minvalue(swigCPtr, minvalue); } public double getMinvalue() { return mapscriptJNI.get_styleObj_minvalue(swigCPtr); } public void setMaxvalue(double maxvalue) { mapscriptJNI.set_styleObj_maxvalue(swigCPtr, maxvalue); } public double getMaxvalue() { return mapscriptJNI.get_styleObj_maxvalue(swigCPtr); } public void setRangeitem(String rangeitem) { mapscriptJNI.set_styleObj_rangeitem(swigCPtr, rangeitem); } public String getRangeitem() { return mapscriptJNI.get_styleObj_rangeitem(swigCPtr); } public void setRangeitemindex(int rangeitemindex) { mapscriptJNI.set_styleObj_rangeitemindex(swigCPtr, rangeitemindex); } public int getRangeitemindex() { return mapscriptJNI.get_styleObj_rangeitemindex(swigCPtr); } public void setSymbol(int symbol) { mapscriptJNI.set_styleObj_symbol(swigCPtr, symbol); } public int getSymbol() { return mapscriptJNI.get_styleObj_symbol(swigCPtr); } public void setSymbolname(String symbolname) { mapscriptJNI.set_styleObj_symbolname(swigCPtr, symbolname); } public String getSymbolname() { return mapscriptJNI.get_styleObj_symbolname(swigCPtr); } public void setSize(int size) { mapscriptJNI.set_styleObj_size(swigCPtr, size); } public int getSize() { return mapscriptJNI.get_styleObj_size(swigCPtr); } public void setMinsize(int minsize) { mapscriptJNI.set_styleObj_minsize(swigCPtr, minsize); } public int getMinsize() { return mapscriptJNI.get_styleObj_minsize(swigCPtr); } public void setMaxsize(int maxsize) { mapscriptJNI.set_styleObj_maxsize(swigCPtr, maxsize); } public int getMaxsize() { return mapscriptJNI.get_styleObj_maxsize(swigCPtr); } public void setWidth(int width) { mapscriptJNI.set_styleObj_width(swigCPtr, width); } public int getWidth() { return mapscriptJNI.get_styleObj_width(swigCPtr); } public void setMinwidth(int minwidth) { mapscriptJNI.set_styleObj_minwidth(swigCPtr, minwidth); } public int getMinwidth() { return mapscriptJNI.get_styleObj_minwidth(swigCPtr); } public void setMaxwidth(int maxwidth) { mapscriptJNI.set_styleObj_maxwidth(swigCPtr, maxwidth); } public int getMaxwidth() { return mapscriptJNI.get_styleObj_maxwidth(swigCPtr); } public void setOffsetx(int offsetx) { mapscriptJNI.set_styleObj_offsetx(swigCPtr, offsetx); } public int getOffsetx() { return mapscriptJNI.get_styleObj_offsetx(swigCPtr); } public void setOffsety(int offsety) { mapscriptJNI.set_styleObj_offsety(swigCPtr, offsety); } public int getOffsety() { return mapscriptJNI.get_styleObj_offsety(swigCPtr); } public void setAngle(double angle) { mapscriptJNI.set_styleObj_angle(swigCPtr, angle); } public double getAngle() { return mapscriptJNI.get_styleObj_angle(swigCPtr); } public void setAntialias(int antialias) { mapscriptJNI.set_styleObj_antialias(swigCPtr, antialias); } public int getAntialias() { return mapscriptJNI.get_styleObj_antialias(swigCPtr); } public void setAngleitem(String angleitem) { mapscriptJNI.set_styleObj_angleitem(swigCPtr, angleitem); } public String getAngleitem() { return mapscriptJNI.get_styleObj_angleitem(swigCPtr); } public void setSizeitem(String sizeitem) { mapscriptJNI.set_styleObj_sizeitem(swigCPtr, sizeitem); } public String getSizeitem() { return mapscriptJNI.get_styleObj_sizeitem(swigCPtr); } public styleObj(classObj parent_class) { this(mapscriptJNI.new_styleObj(classObj.getCPtr(parent_class)), true); } public styleObj cloneStyle() { long cPtr = mapscriptJNI.styleObj_cloneStyle(swigCPtr); return (cPtr == 0) ? null : new styleObj(cPtr, true); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -