[测评系统]--测评系统核心代码库
林致杰
2023-04-24 00a803a1fdccb8a93b76b8be3cef34d7fd6d401c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.ots.project.exam.dto;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class WordParam {
    private double x;
    private double y;
    private double picWidth;
    private double picHeight;
    private String content;
    private int topPosition;
    private boolean isMove = true;
    public WordParam() {
        this.x = 0;
        this.y = 0;
        this.picWidth = 20;
        this.picHeight = 20;
        this.topPosition = 0;
    }
    public WordParam(double x, double y, double picWidth, double picHeight, String content) {
        this.x = x;
        this.y = y;
        this.picWidth = picWidth;
        this.picHeight = picHeight;
        this.content = content;
    }
}