CRect:Xmax CRect:Ymax

CRect:Ymin


The Ymin method returns the value of the minimum y value for the CRect object, measured in pixel coordinates.

Syntax

nYmin = CRect:Ymin()

    nYmin is a number and may be positive or negative.

Example

The following script fragment prints the minimum y dimension of the CRect:

 

R = CRect:new()

-- create a CRect object

Printf("Ymin=%.2lf\n", R:Ymin())

-- print the dimension

Related Topics

CRect, Get, Image Coordinate System, Subpixel Coordinate Definition