M3D / M3D / Shapes / MeasureThickness
Class: MeasureThickness
Memberof
M3D.Shapes
Description
��Ȳ���
Author
YW
Date
022-1-12
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Hierarchy
-
↳
MeasureThickness
Table of contents
Constructors
Properties
Accessors
Methods
- addComText
- addEffect
- addImage
- addLine
- addOutFrame
- addPoint
- addPolyLine
- addText
- clear
- clearComText
- clearImage
- clearOutFrames
- clearPolyLines
- getAlpha
- getAuthor
- getBoundingBox
- getColor
- getComTexts
- getCreateId
- getCreateTime
- getDrawables
- getEffect
- getEvents
- getFirstParentModel
- getFirstParentPath
- getFirstPosition
- getFrameLineList
- getGuid
- getId
- getImageList
- getIsFrontShow
- getLineList
- getLocalTransform
- getMeasureType
- getName
- getNeedClip
- getObjectId
- getPoint
- getPointList
- getPolyLineList
- getPosition
- getProperties
- getProto
- getRenderShapes
- getRotation
- getScene
- getSecondParentModel
- getSecondParentPath
- getSecondPosition
- getShapeType
- getText
- getTextValue
- getWorldBoundingBox
- getWorldTransform
- initAttributes
- initializeColor
- isDirty
- isPreSelected
- isSelected
- isVisible
- markDirty
- post
- registerEvent
- removeEffect
- removeEvent
- removeLine
- removePoint
- send
- sendClipMessage
- sendEffectMessage
- setAlpha
- setAuthor
- setColor
- setCreateId
- setCreateTime
- setEffect
- setFirstParentModel
- setFirstParentPath
- setFirstPosition
- setFrontShow
- setGuid
- setId
- setImagePosition
- setMeasureType
- setName
- setNeedClip
- setObjectId
- setPosition
- setScene
- setSecondParentModel
- setSecondParentPath
- setSecondPosition
- setSelected
- setShapeType
- setText
- setVisible
- setWorldTransform
- update
Constructors
constructor
• new MeasureThickness(): MeasureThickness
Returns
Description
构造函数
Inherited from
Properties
id
• id: number
Inherited from
ANGLEMEASURE
▪ Static
ANGLEMEASURE: number
[]
Inherited from
DISTANCEMEASURE
▪ Static
DISTANCEMEASURE: number
[]
Inherited from
count
▪ Static
count: number
Inherited from
isProto
▪ Static
isProto: string
Inherited from
pVertexHeader
▪ Static
pVertexHeader: string
Inherited from
Accessors
isProto
• get
isProto(): boolean
Returns
boolean
Description
获取是否为原型对象
Inherited from
Measure.isProto
• set
isProto(v
): void
Parameters
Name | Type |
---|---|
v | boolean |
Returns
void
Description
设置是否为原型对象
Inherited from
Measure.isProto
Methods
addComText
▸ addComText(comText
): void
Parameters
Name | Type |
---|---|
comText | ComText |
Returns
void
Description
添加多文本对象
Inherited from
addEffect
▸ addEffect(effectType
): void
Parameters
Name | Type |
---|---|
effectType | number |
Returns
void
Description
添加特效效果
Inherited from
addImage
▸ addImage(image
): void
Parameters
Name | Type |
---|---|
image | Image |
Returns
void
Description
添加图片对象
Inherited from
addLine
▸ addLine(line
): void
Parameters
Name | Type |
---|---|
line | Line |
Returns
void
Description
添加线对象
Inherited from
addOutFrame
▸ addOutFrame(polyLine
): void
Parameters
Name | Type |
---|---|
polyLine | PolyLine |
Returns
void
Description
添加外框
Inherited from
addPoint
▸ addPoint(point
): void
Parameters
Name | Type |
---|---|
point | Point |
Returns
void
Description
添加点对象
Inherited from
addPolyLine
▸ addPolyLine(polyLine
): void
Parameters
Name | Type |
---|---|
polyLine | PolyLine |
Returns
void
Description
添加折线对象
Inherited from
addText
▸ addText(ct
): void
Parameters
Name | Type |
---|---|
ct | ComText |
Returns
void
Description
添加文字
Inherited from
clear
▸ clear(): void
Returns
void
Description
清空
Inherited from
clearComText
▸ clearComText(): void
Returns
void
Description
清空ComText
Inherited from
clearImage
▸ clearImage(): void
Returns
void
Description
清空图片
Inherited from
clearOutFrames
▸ clearOutFrames(): void
Returns
void
Description
清空外框
Inherited from
clearPolyLines
▸ clearPolyLines(): void
Returns
void
Description
清空所有折线
Inherited from
getAlpha
▸ getAlpha(): number
Returns
number
Description
获取透明度
Inherited from
getAuthor
▸ getAuthor(): string
Returns
string
Description
获取创建者
Inherited from
getBoundingBox
▸ getBoundingBox(): BoundingBox
Returns
Description
获取包围盒
Inherited from
getColor
▸ getColor(): Color
Returns
Description
获取测量颜色
Inherited from
getComTexts
▸ getComTexts(): ComText
[]
Returns
ComText
[]
Description
获取文字对象列表
Inherited from
getCreateId
▸ getCreateId(): number
Returns
number
Description
获取createId
Inherited from
getCreateTime
▸ getCreateTime(): string
Returns
string
Description
获取创建时间
Inherited from
getDrawables
▸ getDrawables(): void
Returns
void
Description
获取渲染数据
Inherited from
getEffect
▸ getEffect(): number
Returns
number
Description
获取效果
Inherited from
getEvents
▸ getEvents(): M3DEvent
[]
Returns
M3DEvent
[]
Description
获得事件列表
Inherited from
getFirstParentModel
▸ getFirstParentModel(): Model
Returns
Description
获取第一个父级模型
Inherited from
getFirstParentPath
▸ getFirstParentPath(): string
Returns
string
Description
获取FirstParent路径
Inherited from
getFirstPosition
▸ getFirstPosition(): Vector3
Returns
Description
获取第一个点位置
Inherited from
getFrameLineList
▸ getFrameLineList(): PolyLine
[]
Returns
PolyLine
[]
Description
获取边框线对象
Inherited from
getGuid
▸ getGuid(): string
Returns
string
Description
获取guid
Inherited from
getId
▸ getId(): number
Returns
number
Description
获取id
Inherited from
getImageList
▸ getImageList(): Image
[]
Returns
Image
[]
Description
获取显示图片列表
Inherited from
getIsFrontShow
▸ getIsFrontShow(): boolean
Returns
boolean
Description
获取是否前端显示
Inherited from
getLineList
▸ getLineList(): Line
[]
Returns
Line
[]
Description
获取线对象
Inherited from
getLocalTransform
▸ getLocalTransform(): Matrix4
Returns
Description
获取shape的局部矩阵
Inherited from
getMeasureType
▸ getMeasureType(): MeasureType
Returns
Description
获取测量类型
Inherited from
getName
▸ getName(): string
Returns
string
Description
获取实例名称
Inherited from
getNeedClip
▸ getNeedClip(): boolean
Returns
boolean
Description
获取是否需要剖切
Inherited from
getObjectId
▸ getObjectId(): number
Returns
number
Description
获取ObjectId
Inherited from
getPoint
▸ getPoint(index
): Point
Parameters
Name | Type |
---|---|
index | number |