CRect:Ymax
The Ymax method returns the value of the maximum y value for the CRect object, measured in pixel coordinates.
nYmax = CRect:Ymax() |
nYmax is a number and may be positive or negative.
The following script fragment prints the maximum y dimension of the CRect:
R = CRect:new() |
-- create a CRect object |
Printf("Ymax=%.2lf\n", R:Ymax()) |
-- print the dimension |
CRect, Get, Image Coordinate System, Subpixel Coordinate Definition