ZXIPosition.h 651 B

1234567891011121314151617181920212223
  1. // Copyright 2022 KURZ Digital Solutions GmbH
  2. //
  3. // SPDX-License-Identifier: Apache-2.0
  4. #import <Foundation/Foundation.h>
  5. #import "ZXIPoint.h"
  6. NS_ASSUME_NONNULL_BEGIN
  7. @interface ZXIPosition : NSObject
  8. @property(nonatomic, nonnull)ZXIPoint *topLeft;
  9. @property(nonatomic, nonnull)ZXIPoint *topRight;
  10. @property(nonatomic, nonnull)ZXIPoint *bottomRight;
  11. @property(nonatomic, nonnull)ZXIPoint *bottomLeft;
  12. - (instancetype)initWithTopLeft:(ZXIPoint *)topLeft
  13. topRight:(ZXIPoint *)topRight
  14. bottomRight:(ZXIPoint *)bottomRight
  15. bottomLeft:(ZXIPoint *)bottomLeft;
  16. @end
  17. NS_ASSUME_NONNULL_END