CRect:SetXmax
The SetXmax method initializes the maximum x value for the CRect object.
CRect:SetXmax( nXmax ) nXmax is a number and may be positive or negative. |
The following script fragment sets the maximum x dimension of the CRect to xmax=40.5:
R = CRect:new() |
-- create a CRect object |
R:SetXmax( 40.5 ) |
-- specify the dimension |
CRect, Set, Image Coordinate System, Subpixel Coordinate Definition