mxcad API 文档 / MdGeText
Class: MdGeText
表示文字
Hierarchy
↳
MdGeText
Table of contents
Constructors
Properties
Methods
- HasOwnAnchorPoint
- HasPlane
- Height
- HorizontalAlignment
- Orientation
- Position
- ResetOrientation
- SetHeight
- SetHorizontalAlignment
- SetOrientation
- SetOwnAnchorPoint
- SetPosition
- SetText
- SetVerticalAlignment
- Shape
- VerticalAlignment
- getImp
- initTempObject
Constructors
constructor
• new MdGeText(p1?
, p2?
, p3?
)
Parameters
Name | Type |
---|---|
p1? | string | object |
p2? | number |
p3? | MdGeCSYSR |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
HasOwnAnchorPoint
▸ HasOwnAnchorPoint(): boolean
Returns
boolean
HasPlane
▸ HasPlane(): boolean
Returns
boolean
Height
▸ Height(): number
Returns
number
HorizontalAlignment
▸ HorizontalAlignment(): MxHorizontalTextAlignment
Returns
Orientation
▸ Orientation(): MdGeCSYSR
Returns
Position
▸ Position(): MdGePoint
Returns
ResetOrientation
▸ ResetOrientation(): void
Returns
void
SetHeight
▸ SetHeight(theHeight
): void
Parameters
Name | Type |
---|---|
theHeight | number |
Returns
void
SetHorizontalAlignment
▸ SetHorizontalAlignment(theJustification
): void
Parameters
Name | Type |
---|---|
theJustification | MxHorizontalTextAlignment |
Returns
void
SetOrientation
▸ SetOrientation(theOrientation
): void
Parameters
Name | Type |
---|---|
theOrientation | MdGeCSYSR |
Returns
void
SetOwnAnchorPoint
▸ SetOwnAnchorPoint(theHasOwnAnchor
): void
Parameters
Name | Type |
---|---|
theHasOwnAnchor | boolean |
Returns
void
SetPosition
▸ SetPosition(thePoint
): void
Parameters
Name | Type |
---|---|
thePoint | MdGePoint |
Returns
void
SetText
▸ SetText(theText
): void
Parameters
Name | Type |
---|---|
theText | string |
Returns
void
SetVerticalAlignment
▸ SetVerticalAlignment(theJustification
): void
Parameters
Name | Type |
---|---|
theJustification | MxVerticalTextAlignment |
Returns
void
Shape
▸ Shape(): MdGeShape
Returns
VerticalAlignment
▸ VerticalAlignment(): MxVerticalTextAlignment
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void