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

📄 tintparameters.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.web.data.image;

/**
 * Bean class to contain Tint parameters.  Since
 * all three color are modified for Tint, we need to
 * have methods to set and get each Color
 */
public class TintParameters {
	
	/**
	 * Red offset tint value.
	 */
	private byte m_red = 0;
	
	/**
	 * Green offset tint value.
	 */
	private byte m_green = 0;
	
	/**
	 * Blue offset tint value.
	 */
	private byte m_blue = 0;
	
	/**
	 * Returns the Red offset tint value.  This
	 * value will be added to the red color 
	 * component for a pixel.
	 * 
	 * @return Red offset tint value.
	 */
	public byte getRedOffset() {
		return m_red;
	}
	
	/**
	 * Sets the Red offset tint value.  This
	 * value will be added to the red color
	 * component for a pixel.
	 * 
	 * @param red  Red Offset tint value.
	 */
	public void setRedOffset(byte red) {
		m_red = red;
	}
	
	/**
	 * Returns the Green offset tint value.  This
	 * value will be added to the green color 
	 * component for a pixel.
	 * 
	 * @return Green offset tint value.
	 */
	public byte getGreenOffset() {
		return m_green;
	}
	
	/**
	 * Sets the green offset tint value.  This
	 * value will be added to the green color
	 * component for a pixel.
	 * 
	 * @param red  Green Offset tint value.
	 */
	public void setGreenOffset(byte green) {
		m_green = green;
	}
	
	/**
	 * Returns the Blue offset tint value.  This
	 * value will be added to the blue color 
	 * component for a pixel.
	 * 
	 * @return Blue offset tint value.
	 */
	public byte getBlueOffset() {
		return m_blue;
	}
	
	/**
	 * Sets the Blue offset tint value.  This
	 * value will be added to the blue color
	 * component for a pixel.
	 * 
	 * @param red  Blue Offset tint value.
	 */
	public void setBlueOffset(byte blue) {
		m_blue = blue;
	}
}

⌨️ 快捷键说明

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