Class: Measure
Memberof
M3D.Shapes
Description
测量
Hierarchy
-
↳
Measure
↳↳
MeasureAngle
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 Measure(): Measure
Returns
Description
构造函数
Overrides
Properties
id
• id: number
Inherited from
ANGLEMEASURE
▪ Static
ANGLEMEASURE: number
[]
DISTANCEMEASURE
▪ Static
DISTANCEMEASURE: number
[]
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
Note.isProto
• set
isProto(v
): void
Parameters
Name | Type |
---|---|
v | boolean |
Returns
void
Description
设置是否为原型对象
Inherited from
Note.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