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