image_boundary.dart 690 B

12345678910111213141516171819202122232425
  1. import 'package:fis_measure/interfaces/date_types/point.dart';
  2. /// Describes the width, height, and point origin of a image area.
  3. abstract class IImageBoundary {
  4. // Data Members
  5. List<DPoint> get points;
  6. /// Gets the position of the top-left corner of the Boundary.
  7. DPoint get topLeft;
  8. /// Gets the position of the bottom-right corner of the Boundary.
  9. DPoint get bottomLeft;
  10. /// Gets the position of the bottom-left corner of the Boundary.
  11. DPoint get bottomRight;
  12. /// Gets the position of the top-right corner of the Boundary.
  13. DPoint get topRight;
  14. /// Gets the width of the image.
  15. double get width;
  16. /// Gets the height of the image.
  17. double get height;
  18. }