📄 shapeentity.java
字号:
import java.awt.Color;
import java.awt.Shape;
import java.io.Serializable;
/**
*
*/
/**
* @author squirrel
*
*/
public class ShapeEntity implements Serializable{
private static final long serialVersionUID = 1L;
private double beginX;
private double beginY;
private double endX;
private double endY;
private int shapeType;
private Color drawColor;
private Color paintColor;
public ShapeEntity()
{
}
public Color getDrawColor() {
return drawColor;
}
public void setDrawColor(Color drawColor) {
this.drawColor = drawColor;
}
public Color getPaintColor() {
return paintColor;
}
public void setPaintColor(Color paintColor) {
this.paintColor = paintColor;
}
public int getShapeType() {
return shapeType;
}
public void setShapeType(int shapeType) {
this.shapeType = shapeType;
}
public double getBeginY() {
return beginY;
}
public void setBeginY(double beginY) {
this.beginY = beginY;
}
public double getBeginX() {
return beginX;
}
public void setBeginX(double beginX) {
this.beginX = beginX;
}
public double getEndX() {
return endX;
}
public void setEndX(double endX) {
this.endX = endX;
}
public double getEndY() {
return endY;
}
public void setEndY(double endY) {
this.endY = endY;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -