WhiteCameraState.h 815 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // WhiteCameraState.h
  3. // Whiteboard
  4. //
  5. // Created by yleaf on 2021/1/20.
  6. //
  7. #import "WhiteObject.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. /**
  10. 视角状态。
  11. @since 2.11.12
  12. */
  13. @interface WhiteCameraState : WhiteObject
  14. //@property (nonatomic, strong) NSNumber *width;
  15. //@property (nonatomic, strong) NSNumber *height;
  16. /**
  17. 视角的中心点在白板坐标系(以白板初始化时的中心点为原点的坐标系)中的 X 轴坐标。初始值为 0。
  18. */
  19. @property (nonatomic, strong) NSNumber *centerX;
  20. /**
  21. 视角的中心点在白板坐标系(以白板初始化时的中心点为原点的坐标系)中的 Y 轴坐标。初始值为 0。
  22. */
  23. @property (nonatomic, strong) NSNumber *centerY;
  24. /** 视角的缩放比例。 */
  25. @property (nonatomic, strong) NSNumber *scale;
  26. @end
  27. NS_ASSUME_NONNULL_END