Expression verticalCenter

An expression that represents halfway between the top and bottom edges of the rectangle.

Source

al.Expression get verticalCenter => (top + bottom) / al.cm(2.0);