Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Measurement

Grooper Object Grooper.IP

Serves as the abstract base class for all measurement types in Grooper.

Remarks

Measurement provides a common foundation for representing values that describe geometric or physical quantities, such as length, size, or position. It is not intended to be used directly, but rather to be inherited by more specific measurement types that define how values are stored, interpreted, and converted.

This abstraction enables consistent handling of measurement values throughout Grooper, supporting extensibility for both logical (unit-aware) and device-dependent (pixel or percent) measurements.

Typical usage involves deriving from Measurement to implement concrete types such as Unit Measurement or Logical Measurement, which provide additional semantics and validation for specific measurement scenarios.

Derived Types

There are 11 implementations of Measurement.

Logical Border Defines the size of a border on each side of a rectangle using logical (unit-aware) values.
Logical Point Defines a point in 2-dimensional space using logical (unit-aware) values for each axis.
Logical Range Defines a range of distances.
Logical Rectangle Defines a rectangle in terms of top, left, width, and height using logical (unit-aware) values.
Logical Size Defines the size of a rectangle in terms of width and height using logical (unit-aware) values.
Unit Border Defines the size of a border on each side of a rectangle using unit-aware values.
Unit Line Length Defines the minimum length of lines on the horizontal and vertical axis using unit-aware values.
Unit Point Defines a point in 2D space using unit-aware values for the X and Y coordinates.
Unit Range Represents a range of distances using unit-aware string values for minimum and maximum.
Unit Rectangle Defines a rectangle in terms of left, top, width, and height using unit-aware values.
Unit Size Defines the size of a rectangle in terms of width and height using unit-aware values.
Notification