StageInfo.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package com.luooqi.ocr.model;
  2. public class StageInfo {
  3. private double x;
  4. private double y;
  5. private double width;
  6. private double height;
  7. private boolean fullScreenState;
  8. public StageInfo(double x, double y, double width, double height, boolean fullScreenState) {
  9. this.x = x;
  10. this.y = y;
  11. this.width = width;
  12. this.height = height;
  13. this.fullScreenState = fullScreenState;
  14. }
  15. public double getX() {
  16. return x;
  17. }
  18. public void setX(double x) {
  19. this.x = x;
  20. }
  21. public double getY() {
  22. return y;
  23. }
  24. public void setY(double y) {
  25. this.y = y;
  26. }
  27. public double getWidth() {
  28. return width;
  29. }
  30. public void setWidth(double width) {
  31. this.width = width;
  32. }
  33. public double getHeight() {
  34. return height;
  35. }
  36. public void setHeight(double height) {
  37. this.height = height;
  38. }
  39. public boolean isFullScreenState() {
  40. return fullScreenState;
  41. }
  42. public void setFullScreenState(boolean fullScreenState) {
  43. this.fullScreenState = fullScreenState;
  44. }
  45. }