Skip to content
On this page

mxcad API 文档 / 3d / MxNewMx3dGeColor

Class: MxNewMx3dGeColor

3d.MxNewMx3dGeColor

管理对象生命周期的基类

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MxNewMx3dGeColor()

Overrides

MxNewMx3dBaseObject.constructor

new MxNewMx3dGeColor(theColorName)

Parameters

NameType
theColorNameMxNameOfColor

Overrides

MxNewMx3dBaseObject.constructor

new MxNewMx3dGeColor(theR, theG, theB, theType)

Parameters

NameType
theRnumber
theGnumber
theBnumber
theTypeMxTypeOfColor

Overrides

MxNewMx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MxNewMx3dBaseObject.imp

Methods

Blue

Blue(): number

Returns

number


ChangeContrast

ChangeContrast(theDelta): void

Parameters

NameType
theDeltanumber

Returns

void


ChangeIntensity

ChangeIntensity(theDelta): void

Parameters

NameType
theDeltanumber

Returns

void


DeltaE2000

DeltaE2000(theOther): number

Parameters

NameType
theOtherMxNewMx3dGeColor

Returns

number


Distance

Distance(theColor): number

Parameters

NameType
theColorMxNewMx3dGeColor

Returns

number


Green

Green(): number

Returns

number


Hue

Hue(): number

Returns

number


IsDifferent

IsDifferent(theOther): boolean

Parameters

NameType
theOtherMxNewMx3dGeColor

Returns

boolean


IsEqual

IsEqual(theOther): boolean

Parameters

NameType
theOtherMxNewMx3dGeColor

Returns

boolean


Light

Light(): number

Returns

number


Name

Name(): MxNameOfColor

Returns

MxNameOfColor


Red

Red(): number

Returns

number


Saturation

Saturation(): number

Returns

number


SetValues

SetValues(theName): void

Parameters

NameType
theNameMxNameOfColor

Returns

void

SetValues(theC1, theC2, theC3, theType): void

Parameters

NameType
theC1number
theC2number
theC3number
theTypeMxTypeOfColor

Returns

void


SquareDistance

SquareDistance(theColor): number

Parameters

NameType
theColorMxNewMx3dGeColor

Returns

number


getImp

getImp(): any

Returns

any

Inherited from

MxNewMx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MxNewMx3dBaseObject.initTempObject