ZXIPosition.m 538 B

1234567891011121314151617181920
  1. // Copyright 2022 KURZ Digital Solutions GmbH
  2. //
  3. // SPDX-License-Identifier: Apache-2.0
  4. #import "ZXIPosition.h"
  5. @implementation ZXIPosition
  6. - (instancetype)initWithTopLeft:(ZXIPoint *)topLeft
  7. topRight:(ZXIPoint *)topRight
  8. bottomRight:(ZXIPoint *)bottomRight
  9. bottomLeft:(ZXIPoint *)bottomLeft {
  10. self = [super init];
  11. self.topLeft = topLeft;
  12. self.topRight = topRight;
  13. self.bottomRight = bottomRight;
  14. self.bottomLeft = bottomLeft;
  15. return self;
  16. }
  17. @end