new_rect
The new_rect function is a non-class version of the CRect:new method which creates and returns a new CRect object.
R = new_rect()
R = new_rect( CRect2 )
R = new_rect( xmin, xmax, ymin, ymax )
R = CRect:Set( xmin, xmax, ymin, ymax )
R = new_rect( CImage )
R = new_rect( table )
|
R is
returned as the new CRect object.
On
Failure, nil is
returned.
The following script creates a CHistogram object and uses it to calculate a histogram of data.
|
-- create a rectangle object |
|
-- other uses of the class go here |
|
-- clean up memory when done |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.