M3D / M3D / Shapes / ModelBoard
Class: ModelBoard
Memberof
M3D.Shapes
Description
看板
Hierarchy
-
↳
ModelBoard
Table of contents
Constructors
Properties
Accessors
Methods
- addComText
- addEffect
- addImage
- addLine
- addOutFrame
- addPoint
- addPolyLine
- addText
- clear
- clearComText
- clearImage
- clearOutFrames
- clearPolyLines
- getAlpha
- getAnchorPosition
- getAuthor
- getBackGroundColor
- getBackgroundPath
- getBoardPosition
- getBoundingBox
- getBrush
- getCenterPosition
- getColor
- getComTexts
- getCreateId
- getCreateTime
- getDrawables
- getEffect
- getEvents
- getFirstParentPath
- getFirstPosition
- getFont
- getFrameColor
- getFrameLineList
- getFrameType
- getFrameWidth
- getGuid
- getHorizontal
- getId
- getImageList
- getIsFrontShow
- getLineList
- getLocalTransform
- getModelBoardType
- getName
- getNeedClip
- getObjectId
- getOriginSize
- getParentModel
- getPoint
- getPointList
- getPolyLineList
- getPosition
- getProperties
- getProto
- getRenderColor
- getRenderShapes
- getRotation
- getScene
- getSecondParentPath
- getSecondPosition
- getShapeType
- getSize
- getTextAlignment
- getTextArray
- getTextValue
- getVertical
- getWorldBoundingBox
- getWorldTransform
- initAttributes
- isDirty
- isFixedShow
- isPreSelected
- isSelected
- isUseBranchLine
- isUseEnvelope
- isUseLeaderLine
- isUseParallelScreen
- isVisible
- markDirty
- post
- registerEvent
- removeEffect
- removeEvent
- removeLine
- removePoint
- send
- sendClipMessage
- sendEffectMessage
- set
- setAlpha
- setAnchorPosition
- setAuthor
- setBackgroundColor
- setBackgroundPath
- setBoardPosition
- setCenterPosition
- setColor
- setCreateId
- setCreateTime
- setEffect
- setFirstParentPath
- setFirstPosition
- setFixedShow
- setFont
- setFrameColor
- setFrameType
- setFrameWidth
- setFrontShow
- setGuid
- setHorizontal
- setId
- setImagePosition
- setModelBoardType
- setName
- setNeedClip
- setObjectId
- setOriginSize
- setParentModel
- setPosition
- setRenderColor
- setRenderableShapeWorldMatrix
- setScene
- setSecondParentPath
- setSecondPosition
- setSelected
- setShapeType
- setTextAlignment
- setTextArray
- setUseBranchLine
- setUseEnvelope
- setUseLeaderLine
- setUseParallelScreen
- setVertical
- setVisible
- setWorldTransform
- update
Constructors
constructor
• new ModelBoard(): ModelBoard
Returns
Description
构造函数
Overrides
• new ModelBoard(position
, size
): ModelBoard
Parameters
Name | Type |
---|---|
position | Vector3 |
size | Vector2 |
Returns
Description
构造函数
Overrides
Note.constructor
Properties
id
• id: 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
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
添加图片对象
Overrides
addLine
▸ addLine(line
): void
Parameters
Name | Type |
---|---|
line | Line |
Returns
void
Description
添加线对象
Overrides
addOutFrame
▸ addOutFrame(polyLine
): void
Parameters
Name | Type |
---|---|
polyLine | PolyLine |
Returns
void
Description
添加外框