mxcad API 文档 / 3d / MdGeDocColorTool
Class: MdGeDocColorTool
3d.MdGeDocColorTool
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
MdGeDocColorTool
Table of contents
Constructors
Properties
Methods
- AddColor
- AutoNaming
- BaseLabel
- FindColor
- GetColor
- GetColorLabel
- GetColors
- IsColor
- IsColorByLayer
- IsSet
- IsVisible
- RemoveColor
- ReverseChainsOfTreeNodes
- SetAutoNaming
- SetColor
- SetColorByLayer
- SetVisibility
- UnSetColor
- getImp
- initTempObject
Constructors
constructor
• new MdGeDocColorTool(p
)
Parameters
Name | Type |
---|---|
p | object | MdGeLabel |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
AddColor
▸ AddColor(col
): MdGeLabel
Parameters
Name | Type |
---|---|
col | MdGeColor |
Returns
AutoNaming
▸ AutoNaming(): boolean
Returns
boolean
BaseLabel
▸ BaseLabel(): MdGeLabel
Returns
FindColor
▸ FindColor(col
): MdGeLabel
Parameters
Name | Type |
---|---|
col | MdGeColor |
Returns
GetColor
▸ GetColor(lab
): MdGeColor
Parameters
Name | Type |
---|---|
lab | MdGeLabel |
Returns
GetColorLabel
▸ GetColorLabel(L
, type
): MdGeLabel
Parameters
Name | Type |
---|---|
L | MdGeLabel |
type | MxDocColorType |
Returns
GetColors
▸ GetColors(): MdGeLabelSequence
Returns
IsColor
▸ IsColor(lab
): boolean
Parameters
Name | Type |
---|---|
lab | MdGeLabel |
Returns
boolean
IsColorByLayer
▸ IsColorByLayer(L
): boolean
Parameters
Name | Type |
---|---|
L | MdGeLabel |
Returns
boolean
IsSet
▸ IsSet(L
, type
): boolean
Parameters
Name | Type |
---|---|
L | MdGeLabel |
type | MxDocColorType |
Returns
boolean
IsVisible
▸ IsVisible(L
): boolean
Parameters
Name | Type |
---|---|
L | MdGeLabel |
Returns
boolean
RemoveColor
▸ RemoveColor(lab
): void
Parameters
Name | Type |
---|---|
lab | MdGeLabel |
Returns
void
ReverseChainsOfTreeNodes
▸ ReverseChainsOfTreeNodes(): boolean
Returns
boolean
SetAutoNaming
▸ SetAutoNaming(theIsAutoNaming
): void
Parameters
Name | Type |
---|---|
theIsAutoNaming | boolean |
Returns
void
SetColor
▸ SetColor(L
, colorL
, type
): void
Parameters
Name | Type |
---|---|
L | MdGeLabel |
colorL | MdGeLabel |
type | MxDocColorType |
Returns
void
SetColorByLayer
▸ SetColorByLayer(shapeLabel
, isColorByLayer
): void
Parameters
Name | Type |
---|---|
shapeLabel | MdGeLabel |
isColorByLayer | boolean |
Returns
void
SetVisibility
▸ SetVisibility(shapeLabel
, isvisible
): void
Parameters
Name | Type |
---|---|
shapeLabel | MdGeLabel |
isvisible | boolean |
Returns
void
UnSetColor
▸ UnSetColor(L
, type
): void
Parameters
Name | Type |
---|---|
L | MdGeLabel |
type | MxDocColorType |
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void