📄 lineorder.java
字号:
/* LineOrder.java
* Component: ProperJavaRDP
*
* Revision: $Revision: 1.7 $
* Author: $Author: telliott $
* Date: $Date: 2005/09/27 14:15:40 $
*
* Copyright (c) 2005 Propero Limited
*
* Purpose:
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* (See gpl.txt for details of the GNU General Public License.)
*
*/
package net.propero.rdp.orders;
public class LineOrder implements Order {
private int mixmode = 0;
private int startx = 0;
private int starty = 0;
private int endx = 0;
private int endy = 0;
private int bgcolor = 0;
private int opcode = 0;
Pen pen = null;
public LineOrder() {
pen = new Pen();
}
public int getMixmode() {
return this.mixmode;
}
public int getStartX() {
return this.startx;
}
public int getStartY() {
return this.starty;
}
public int getEndX() {
return this.endx;
}
public int getEndY() {
return this.endy;
}
public int getBackgroundColor() {
return this.bgcolor;
}
public int getOpcode() {
return this.opcode;
}
public Pen getPen(){
return this.pen;
}
public void setMixmode(int mixmode) {
this.mixmode = mixmode;
}
public void setStartX(int startx) {
this.startx = startx;
}
public void setStartY(int starty) {
this.starty = starty;
}
public void setEndX(int endx) {
this.endx = endx;
}
public void setEndY(int endy) {
this.endy = endy;
}
public void setBackgroundColor(int bgcolor) {
this.bgcolor = bgcolor;
}
public void setOpcode(int opcode) {
this.opcode = opcode;
}
public void reset() {
mixmode = 0;
startx = 0;
starty = 0;
endx = 0;
endy = 0;
bgcolor = 0;
opcode = 0;
pen.reset();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -