mxcad API 文档 / MdGeTextLabel
Class: MdGeTextLabel
表示文字标签
Hierarchy
↳
MdGeTextLabel
Table of contents
Constructors
Properties
Methods
- Display
- 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 MdGeTextLabel(p1?
, p2?
, p3?
)
Parameters
Name | Type |
---|---|
p1? | string | object |
p2? | number |
p3? | MdGePoint |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Display
▸ Display(): void
Returns
void
FontAspect
▸ FontAspect(): MxFontAspect
Returns
HasFlipping
▸ HasFlipping(): boolean
Returns
boolean
HasOrientation3D
▸ HasOrientation3D(): boolean
Returns
boolean
HasOwnAnchorPoint
▸ HasOwnAnchorPoint(): boolean
Returns
boolean
Orientation3D
▸ Orientation3D(): MdGeCSYSR
Returns
Position
▸ Position(): MdGePoint
Returns
SetAngle
▸ SetAngle(theAngle
): void
Parameters
Name | Type |
---|---|
theAngle | number |
Returns
void
SetColor
▸ SetColor(theColor
): void
Parameters
Name | Type |
---|---|
theColor | MdGeColor |
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 | MdGeCSYSR |
Returns
void
SetOwnAnchorPoint
▸ SetOwnAnchorPoint(theOwnAnchorPoint
): void
Parameters
Name | Type |
---|---|
theOwnAnchorPoint | boolean |
Returns
void
SetPositon
▸ SetPositon(position
): void
Parameters
Name | Type |
---|---|
position | MdGePoint |
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