Skip to content

[mxcad_3d API Document](../README. md)/Mx3dAspectLine

Class: Mx3dAspectLine

Indicate the line style.

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new Mx3dAspectLine(theColor, theType, theWidth)

Constructor, create a line style object that specifies color, line type, and line width.

Parameters

NameTypeDescription
TheColor[Mx3dGeColor] (Mx3dGeColor. md)Color
TheType[MxTypeOfLine] (../enums/MdGe. MxTypeOfLine. md)Line type
TheWidthNumberLine Width

Overrides

Mx3dAspectObject.constructor

Methods

SetColor

SetColor(theColor): void

Set the color of the line style object.

Parameters

NameTypeDescription
TheColor[Mx3dGeColor] (Mx3dGeColor. md)The color object to be set (Mx3dGeColor)

Returns

void


SetTypeOfLine

SetTypeOfLine(theType): void

Set the line type of the line style object.

Parameters

NameTypeDescription
TheType[MxTypeOfLine] (../enums/MdGe. MxTypeOfLine. md)Line type

Returns

void


SetWidth

SetWidth(theWidth): void

Set the line width of the line style object.

Parameters

NameTypeDescription
TheWidthNumberLine Width

Returns

void