mxcad API 文档 / MxNewMx3dSymbolText
Class: MxNewMx3dSymbolText
符号的基类
Hierarchy
↳
MxNewMx3dSymbolText
Table of contents
Constructors
Properties
Methods
- FontAspect
- HasFlipping
- HasOrientation3D
- HasOwnAnchorPoint
- Orientation3D
- Position
- SetAngle
- SetColor
- SetColorSubTitle
- SetDisplayType
- SetFlipping
- SetFont
- SetFontAspect
- SetHJustification
- SetHeight
- SetOrientation3D
- SetOwnAnchorPoint
- SetPositon
- SetText
- SetVJustification
- SetZoomable
- UnsetOrientation3D
- getImp
- initTempObject
Constructors
constructor
• new MxNewMx3dSymbolText()
Overrides
MxNewMx3dSymbolObject.constructor
• new MxNewMx3dSymbolText(text
, height
, position
)
Parameters
Name | Type |
---|---|
text | string |
height | number |
position | MxNewMx3dGePoint |
Overrides
MxNewMx3dSymbolObject.constructor
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
FontAspect
▸ FontAspect(): MxFontAspect
Returns
HasFlipping
▸ HasFlipping(): boolean
Returns
boolean
HasOrientation3D
▸ HasOrientation3D(): boolean
Returns
boolean
HasOwnAnchorPoint
▸ HasOwnAnchorPoint(): boolean
Returns
boolean
Orientation3D
▸ Orientation3D(): MxNewMx3dGeCSYSR
Returns
Position
▸ Position(): MxNewMx3dGePoint
Returns
SetAngle
▸ SetAngle(theAngle
): void
Parameters
Name | Type |
---|---|
theAngle | number |
Returns
void
SetColor
▸ SetColor(theColor
): void
Parameters
Name | Type |
---|---|
theColor | MxNewMx3dGeColor |
Returns
void
▸ SetColor(theR
, theG
, theB
): void
Parameters
Name | Type |
---|---|
theR | number |
theG | number |
theB | number |
Returns
void
SetColorSubTitle
▸ SetColorSubTitle(theR
, theG
, theB
): void
Parameters
Name | Type |
---|---|
theR | number |
theG | number |
theB | number |
Returns
void
SetDisplayType
▸ SetDisplayType(theDisplayType
): void
Parameters
Name | Type |
---|---|
theDisplayType | MxTypeOfDisplayText |
Returns
void
SetFlipping
▸ SetFlipping(theIsFlipping
): void
Parameters
Name | Type |
---|---|
theIsFlipping | boolean |
Returns
void
SetFont
▸ SetFont(theFont
): void
Parameters
Name | Type |
---|---|
theFont | string |
Returns
void
SetFontAspect
▸ SetFontAspect(theFontAspect
): void
Parameters
Name | Type |
---|---|
theFontAspect | MxFontAspect |
Returns
void
SetHJustification
▸ SetHJustification(theHJust
): void
Parameters
Name | Type |
---|---|
theHJust | MxHorizontalTextAlignment |
Returns
void
SetHeight
▸ SetHeight(height
): void
Parameters
Name | Type |
---|---|
height | number |
Returns
void
SetOrientation3D
▸ SetOrientation3D(theOrientation
): void
Parameters
Name | Type |
---|---|
theOrientation | MxNewMx3dGeCSYSR |
Returns
void
SetOwnAnchorPoint
▸ SetOwnAnchorPoint(theOwnAnchorPoint
): void
Parameters
Name | Type |
---|---|
theOwnAnchorPoint | boolean |
Returns
void
SetPositon
▸ SetPositon(position
): void
Parameters
Name | Type |
---|---|
position | MxNewMx3dGePoint |
Returns
void
SetText
▸ SetText(text
): void
Parameters
Name | Type |
---|---|
text | string |
Returns
void
SetVJustification
▸ SetVJustification(theVJust
): void
Parameters
Name | Type |
---|---|
theVJust | MxVerticalTextAlignment |
Returns
void
SetZoomable
▸ SetZoomable(theIsZoomable
): void
Parameters
Name | Type |
---|---|
theIsZoomable | boolean |
Returns
void
UnsetOrientation3D
▸ UnsetOrientation3D(): void
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void