mxcad API 文档 / MxNewMx3dGeColor
Class: MxNewMx3dGeColor
管理对象生命周期的基类
Hierarchy
↳
MxNewMx3dGeColor
Table of contents
Constructors
Properties
Methods
- Blue
- ChangeContrast
- ChangeIntensity
- DeltaE2000
- Distance
- Green
- Hue
- IsDifferent
- IsEqual
- Light
- Name
- Red
- Saturation
- SetValues
- SquareDistance
- getImp
- initTempObject
Constructors
constructor
• new MxNewMx3dGeColor()
Overrides
MxNewMx3dBaseObject.constructor
• new MxNewMx3dGeColor(theColorName
)
Parameters
Name | Type |
---|---|
theColorName | MxNameOfColor |
Overrides
MxNewMx3dBaseObject.constructor
• new MxNewMx3dGeColor(theR
, theG
, theB
, theType
)
Parameters
Name | Type |
---|---|
theR | number |
theG | number |
theB | number |
theType | MxTypeOfColor |
Overrides
MxNewMx3dBaseObject.constructor
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Blue
▸ Blue(): number
Returns
number
ChangeContrast
▸ ChangeContrast(theDelta
): void
Parameters
Name | Type |
---|---|
theDelta | number |
Returns
void
ChangeIntensity
▸ ChangeIntensity(theDelta
): void
Parameters
Name | Type |
---|---|
theDelta | number |
Returns
void
DeltaE2000
▸ DeltaE2000(theOther
): number
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeColor |
Returns
number
Distance
▸ Distance(theColor
): number
Parameters
Name | Type |
---|---|
theColor | MxNewMx3dGeColor |
Returns
number
Green
▸ Green(): number
Returns
number
Hue
▸ Hue(): number
Returns
number
IsDifferent
▸ IsDifferent(theOther
): boolean
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeColor |
Returns
boolean
IsEqual
▸ IsEqual(theOther
): boolean
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeColor |
Returns
boolean
Light
▸ Light(): number
Returns
number
Name
▸ Name(): MxNameOfColor
Returns
Red
▸ Red(): number
Returns
number
Saturation
▸ Saturation(): number
Returns
number
SetValues
▸ SetValues(theName
): void
Parameters
Name | Type |
---|---|
theName | MxNameOfColor |
Returns
void
▸ SetValues(theC1
, theC2
, theC3
, theType
): void
Parameters
Name | Type |
---|---|
theC1 | number |
theC2 | number |
theC3 | number |
theType | MxTypeOfColor |
Returns
void
SquareDistance
▸ SquareDistance(theColor
): number
Parameters
Name | Type |
---|---|
theColor | MxNewMx3dGeColor |
Returns
number
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void