CRect:SetYmin CRect:SetXmin

CRect:SetYmax


The SetYmax method initializes the maximum y value for the CRect object.

Syntax

CRect:SetYmax( nYmax )

    nYmax is a number and may be positive or negative.

Example

The following script fragment sets the maximum y dimension of the CRect to ymax=300.25:

 

R = CRect:new()

-- create a CRect object

R:SetYmax(300.25)

-- specify the dimension

Related Topics

CRect, Set, Image Coordinate System, Subpixel Coordinate Definition