mxcad API 文档 / MxNewMx3dDbLabel
Class: MxNewMx3dDbLabel
管理对象生命周期的基类
Hierarchy
↳
MxNewMx3dDbLabel
Table of contents
Constructors
Properties
Methods
- addChildLabel
- addComponent
- addSubShape
- getAttributeStr
- getChildLabels
- getColor
- getEntry
- getImp
- getLocation
- getName
- getParentLabel
- getReferredLabel
- getShape
- hasChildLabel
- hasParentLabel
- initTempObject
- isAssembly
- isComponent
- isCompound
- isFree
- isReference
- isSetColor
- isShape
- isSimpleShape
- isSubShape
- isTopLevel
- setColor
- setShape
Constructors
constructor
• new MxNewMx3dDbLabel(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
addChildLabel
▸ addChildLabel(): MxNewMx3dDbLabel
Returns
addComponent
▸ addComponent(comp
, Loc
): MxNewMx3dDbLabel
Parameters
Name | Type |
---|---|
comp | MxNewMx3dDbLabel |
Loc | MxNewMx3dGeLocation |
Returns
addSubShape
▸ addSubShape(theShape
): MxNewMx3dDbLabel
Parameters
Name | Type |
---|---|
theShape | MxNewMx3dShapeObject |
Returns
getAttributeStr
▸ getAttributeStr(): string
Returns
string
getChildLabels
▸ getChildLabels(): MxNewMx3dDbLabel
[]
Returns
getColor
▸ getColor(): MxNewMx3dGeColor
Returns
getEntry
▸ getEntry(): string
Returns
string
getImp
▸ getImp(): any
Returns
any
Inherited from
getLocation
▸ getLocation(): MxNewMx3dGeLocation
Returns
getName
▸ getName(): string
Returns
string
getParentLabel
▸ getParentLabel(): MxNewMx3dDbLabel
Returns
getReferredLabel
▸ getReferredLabel(): MxNewMx3dDbLabel
Returns
getShape
▸ getShape(): MxNewMx3dShapeObject
Returns
hasChildLabel
▸ hasChildLabel(): boolean
Returns
boolean
hasParentLabel
▸ hasParentLabel(): boolean
Returns
boolean
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void
Inherited from
MxNewMx3dDbObject.initTempObject
isAssembly
▸ isAssembly(): boolean
Returns
boolean
isComponent
▸ isComponent(): boolean
Returns
boolean
isCompound
▸ isCompound(): boolean
Returns
boolean
isFree
▸ isFree(): boolean
Returns
boolean
isReference
▸ isReference(): boolean
Returns
boolean
isSetColor
▸ isSetColor(): boolean
Returns
boolean
isShape
▸ isShape(): boolean
Returns
boolean
isSimpleShape
▸ isSimpleShape(): boolean
Returns
boolean
isSubShape
▸ isSubShape(): boolean
Returns
boolean
isTopLevel
▸ isTopLevel(): boolean
Returns
boolean
setColor
▸ setColor(theColor
): void
Parameters
Name | Type |
---|---|
theColor | MxNewMx3dGeColor |
Returns
void
setShape
▸ setShape(theShape
): void
Parameters
Name | Type |
---|---|
theShape | MxNewMx3dShapeObject |
Returns
void