CRect:SetToImage CRect:SetYmax

CRect:SetYmin


The SetYmin method initializes the minimum y value for the CRect object.

Syntax

CRect:SetYmin( nYmin )

    nYmin is a number and may be positive or negative.

Example

The following script fragment sets the minimum y dimension of the CRect to xmin=200:

 

R = CRect:new()

-- create a CRect object

R:SetYmin(200)

-- specify the dimension

Related Topics

CRect, Set, Image Coordinate System, Subpixel Coordinate Definition