Skip to content
On this page

mxcad API 文档 / 3d / MdGeTextLabel

Class: MdGeTextLabel

3d.MdGeTextLabel

表示文字标签

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeTextLabel(p1?, p2?, p3?)

Parameters

NameType
p1?string | object
p2?number
p3?MdGePoint

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Display

Display(): void

Returns

void


FontAspect

FontAspect(): MxFontAspect

Returns

MxFontAspect


HasFlipping

HasFlipping(): boolean

Returns

boolean


HasOrientation3D

HasOrientation3D(): boolean

Returns

boolean


HasOwnAnchorPoint

HasOwnAnchorPoint(): boolean

Returns

boolean


Orientation3D

Orientation3D(): MdGeCSYSR

Returns

MdGeCSYSR


Position

Position(): MdGePoint

Returns

MdGePoint


SetAngle

SetAngle(theAngle): void

Parameters

NameType
theAnglenumber

Returns

void


SetColor

SetColor(theColor): void

Parameters

NameType
theColorMdGeColor

Returns

void

SetColor(theR, theG, theB): void

Parameters

NameType
theRnumber
theGnumber
theBnumber

Returns

void


SetColorSubTitle

SetColorSubTitle(theR, theG, theB): void

Parameters

NameType
theRnumber
theGnumber
theBnumber

Returns

void


SetDisplayType

SetDisplayType(theDisplayType): void

Parameters

NameType
theDisplayTypeMxTypeOfDisplayText

Returns

void


SetFlipping

SetFlipping(theIsFlipping): void

Parameters

NameType
theIsFlippingboolean

Returns

void


SetFont

SetFont(theFont): void

Parameters

NameType
theFontstring

Returns

void


SetFontAspect

SetFontAspect(theFontAspect): void

Parameters

NameType
theFontAspectMxFontAspect

Returns

void


SetHJustification

SetHJustification(theHJust): void

Parameters

NameType
theHJustMxHorizontalTextAlignment

Returns

void


SetHeight

SetHeight(height): void

Parameters

NameType
heightnumber

Returns

void


SetOrientation3D

SetOrientation3D(theOrientation): void

Parameters

NameType
theOrientationMdGeCSYSR

Returns

void


SetOwnAnchorPoint

SetOwnAnchorPoint(theOwnAnchorPoint): void

Parameters

NameType
theOwnAnchorPointboolean

Returns

void


SetPositon

SetPositon(position): void

Parameters

NameType
positionMdGePoint

Returns

void


SetText

SetText(text): void

Parameters

NameType
textstring

Returns

void


SetVJustification

SetVJustification(theVJust): void

Parameters

NameType
theVJustMxVerticalTextAlignment

Returns

void


SetZoomable

SetZoomable(theIsZoomable): void

Parameters

NameType
theIsZoomableboolean

Returns

void


UnsetOrientation3D

UnsetOrientation3D(): void

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject