CRect:SetYmax CRect:SetXmax

CRect:SetXmin


The SetXmin method initializes the minimum x value for the CRect object.

Syntax

CRect:SetXmin( nXmin )

    nXmin is a number and may be positive or negative.

Example

The following script fragment sets the minimum x dimension of the CRect to xmin=100:

 

R = CRect:new()

-- create a CRect object

R:SetXmin(100)

-- specify the dimension

Related Topics

CRect, Set, Image Coordinate System, Subpixel Coordinate Definition