CMeasureRegions:new
The new method constructs a new instance of a CMeasureRegions object. You must create the object before using any class methods or properties. Note that the object can also be created using new_measureregions.
C = CMeasureRegions:new() Creates a default CMeasureRegions object with properties initialized to default values. C = CMeasureRegions:new( Params ) Creates a CMeasureRegions object with default properties updated to values in the RegionParams Table, Params. C = CMeasureRegions:new( CMeasureRegions_old ) |
This is a copy constructor. It creates a new CMeasureRegions object initialized to the members of theCMeasureRegions_old argument.
The following script creates a new CMeasureRegions object, uses it, then deletes it when no longer needed.
|
-- create a new CMeasureRegions |
-- do things with the region description |
|
|
-- draw a marker |
-- do other things |
|
|
-- delete the object |
CMeasureRegions class, delete, RegionParams Table, new_measureregions
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.