Class: BaseParameters
SView.BaseParameters
Brief
配置信息类
Memberof
SView
Author
WZ
Date
2022-3-23
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Hierarchy
-
Parameters
↳
BaseParameters
Table of contents
Constructors
Properties
- UseBackImage
- annotationCharacter
- annotationDepartment
- annotationFrontShow
- annotationUser
- backgrounImage
- bottomColor
- changeViewTime
- hotSpotImageSize
- hotspotPath
- hotspotSelectedPath
- imageMeasureSize
- isMergeModels
- isNoteFixSize
- isShowAniTrochoid
- measureBoardColor
- measureBoardWidth
- measurePointSize
- measureResultRadius
- screenDPI
- sequenceAnnotationMaxValue
- textNoteStyle
- thicknessDirectionType
- topColor
Methods
- add
- fromJson
- getBoolParameter
- getColorParameter
- getMapParameter
- getNumberParameter
- getParameter
- getParameters
- getParentParameters
- getStringParameter
- getVector2Parameter
- remove
- setBackgroudBottomColor
- setBackgroudColor
- setBackgroudImg
- setBackgroudTopColor
- setBoolParameter
- setColorParameter
- setCookieParameter
- setDefault
- setMapParameter
- setNumberParameter
- setParameter
- setParameterByCookie
- setParentParameters
- setStringParameter
- setVector2Parameter
- toJson
- getInstance
Constructors
constructor
• new BaseParameters(): BaseParameters
构造函数
Returns
Inherited from
M3D.Config.Parameters.constructor
Properties
UseBackImage
• UseBackImage: boolean
annotationCharacter
• annotationCharacter: string
Inherited from
M3D.Config.Parameters.annotationCharacter
annotationDepartment
• annotationDepartment: string
Inherited from
M3D.Config.Parameters.annotationDepartment
annotationFrontShow
• annotationFrontShow: boolean
Inherited from
M3D.Config.Parameters.annotationFrontShow
annotationUser
• annotationUser: string
Inherited from
M3D.Config.Parameters.annotationUser
backgrounImage
• backgrounImage: ImageBitmap
bottomColor
• bottomColor: Color
changeViewTime
• changeViewTime: number
Inherited from
M3D.Config.Parameters.changeViewTime
hotSpotImageSize
• hotSpotImageSize: number
Inherited from
M3D.Config.Parameters.hotSpotImageSize
hotspotPath
• hotspotPath: string
Inherited from
M3D.Config.Parameters.hotspotPath
hotspotSelectedPath
• hotspotSelectedPath: string
Inherited from
M3D.Config.Parameters.hotspotSelectedPath
imageMeasureSize
• imageMeasureSize: number
Inherited from
M3D.Config.Parameters.imageMeasureSize
isMergeModels
• isMergeModels: boolean
Inherited from
M3D.Config.Parameters.isMergeModels
isNoteFixSize
• isNoteFixSize: boolean
Inherited from
M3D.Config.Parameters.isNoteFixSize
isShowAniTrochoid
• isShowAniTrochoid: boolean
Inherited from
M3D.Config.Parameters.isShowAniTrochoid
measureBoardColor
• measureBoardColor: Color
Inherited from
M3D.Config.Parameters.measureBoardColor
measureBoardWidth
• measureBoardWidth: number
Inherited from
M3D.Config.Parameters.measureBoardWidth
measurePointSize
• measurePointSize: number
Inherited from
M3D.Config.Parameters.measurePointSize
measureResultRadius
• measureResultRadius: number
Inherited from
M3D.Config.Parameters.measureResultRadius
screenDPI
• screenDPI: any
Inherited from
M3D.Config.Parameters.screenDPI
sequenceAnnotationMaxValue
• sequenceAnnotationMaxValue: number
Inherited from
M3D.Config.Parameters.sequenceAnnotationMaxValue
textNoteStyle
• textNoteStyle: number
Inherited from
M3D.Config.Parameters.textNoteStyle
thicknessDirectionType
• thicknessDirectionType: number
Inherited from
M3D.Config.Parameters.thicknessDirectionType
topColor
• topColor: Color
Methods
add
▸ add(para
): void
添加所属子配置项
Parameters
Name | Type |
---|---|
para | SParameters |
Returns
void
Inherited from
M3D.Config.Parameters.add
fromJson
▸ fromJson(value
): void
Parameters
Name | Type |
---|---|
value | string |
Returns
void
Description
根据json字符串设置配置信息
Inherited from
M3D.Config.Parameters.fromJson
getBoolParameter
▸ getBoolParameter(key
): boolean
Parameters
Name | Type | Description |
---|---|---|
key | string | key关键词 |
Returns
boolean
Description
获取boolean类型参数