new ClassDefineUtils()
Class to help to define some classes with similar interfaces.
- Source:
Methods
-
(static) addExtraObjMapSupport(aClass)
-
Define extraObjMap related properties and methods to a class.
Parameters:
Name Type Description aClass
Object Should be class object. - Source:
-
(static) addStandardCoordSupport(aClass, props)
-
Define coord2D/coord3D related properties and methods to a class.
Parameters:
Name Type Description aClass
Object Should be class object. props
Array Which properties should be defined. e.g. ['coord3D', 'absCoord3D']. If not set, all 2D and 3D properties will be defined. - Source:
-
(static) addStandardSizeSupport(aClass, props)
-
Define size2D/size3D related properties and methods to a class.
Parameters:
Name Type Description aClass
Object Should be class object. props
Array Which properties should be defined. e.g. ['size2D', 'size3D']. If not set, all 2D and 3D properties will be defined. - Source: