Skip to content
On this page

mxcad API 文档 / MdGeTextAspect

Class: MdGeTextAspect

所有类的父类, 除去MdGeTopo以及MdGeBrep

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeTextAspect(p?)

Parameters

NameType
p?object

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Angle

Angle(): number

Returns

number


Height

Height(): number

Returns

number


HorizontalJustification

HorizontalJustification(): MxHorizontalTextAlignment

Returns

MxHorizontalTextAlignment


MxTextPath

MxTextPath(): MxTextPath

Returns

MxTextPath


SetAngle

SetAngle(theAngle): void

Parameters

NameType
theAnglenumber

Returns

void


SetColor

SetColor(theColor): void

Parameters

NameType
theColorMdGeColor

Returns

void


SetFont

SetFont(theFont): void

Parameters

NameType
theFontstring

Returns

void


SetHeight

SetHeight(theHeight): void

Parameters

NameType
theHeightnumber

Returns

void


SetHorizontalJustification

SetHorizontalJustification(theJustification): void

Parameters

NameType
theJustificationMxHorizontalTextAlignment

Returns

void


SetOrientation

SetOrientation(theOrientation): void

Parameters

NameType
theOrientationMxTextPath

Returns

void


SetVerticalJustification

SetVerticalJustification(theJustification): void

Parameters

NameType
theJustificationMxVerticalTextAlignment

Returns

void


VerticalJustification

VerticalJustification(): MxVerticalTextAlignment

Returns

MxVerticalTextAlignment


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject