mxcad API 文档 / MdGeTextAspect
Class: MdGeTextAspect
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
MdGeTextAspect
Table of contents
Constructors
Properties
Methods
- Angle
- Height
- HorizontalJustification
- MxTextPath
- SetAngle
- SetColor
- SetFont
- SetHeight
- SetHorizontalJustification
- SetOrientation
- SetVerticalJustification
- VerticalJustification
- getImp
- initTempObject
Constructors
constructor
• new MdGeTextAspect(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Angle
▸ Angle(): number
Returns
number
Height
▸ Height(): number
Returns
number
HorizontalJustification
▸ HorizontalJustification(): MxHorizontalTextAlignment
Returns
MxTextPath
▸ MxTextPath(): MxTextPath
Returns
SetAngle
▸ SetAngle(theAngle
): void
Parameters
Name | Type |
---|---|
theAngle | number |
Returns
void
SetColor
▸ SetColor(theColor
): void
Parameters
Name | Type |
---|---|
theColor | MdGeColor |
Returns
void
SetFont
▸ SetFont(theFont
): void
Parameters
Name | Type |
---|---|
theFont | string |
Returns
void
SetHeight
▸ SetHeight(theHeight
): void
Parameters
Name | Type |
---|---|
theHeight | number |
Returns
void
SetHorizontalJustification
▸ SetHorizontalJustification(theJustification
): void
Parameters
Name | Type |
---|---|
theJustification | MxHorizontalTextAlignment |
Returns
void
SetOrientation
▸ SetOrientation(theOrientation
): void
Parameters
Name | Type |
---|---|
theOrientation | MxTextPath |
Returns
void
SetVerticalJustification
▸ SetVerticalJustification(theJustification
): void
Parameters
Name | Type |
---|---|
theJustification | MxVerticalTextAlignment |
Returns
void
VerticalJustification
▸ VerticalJustification(): MxVerticalTextAlignment
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void