WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
PlotStyle
Class PlotStyle
打印样式类 定义打印时的样式配置
Index
Constructors
constructor
Properties
style
Id
name
color
Styles
Methods
init
get
Color
Style_
By
Id
set
Color
Style
get
Short
List
Constructors
constructor
new
PlotStyle
()
:
PlotStyle
Returns
PlotStyle
Properties
style
Id
styleId
:
number
name
name
:
string
color
Styles
colorStyles
:
PlotColorStyle
[]
Methods
init
init
()
:
void
初始化默认样式
Returns
void
get
Color
Style_
By
Id
getColorStyle_ById
(
styleId
:
number
)
:
PlotColorStyle
根据ID获取颜色样式
Parameters
styleId
:
number
样式ID
Returns
PlotColorStyle
颜色样式对象
set
Color
Style
setColorStyle
(
styleId
:
number
,
lineWeight
:
number
,
color
:
number
)
:
void
设置颜色样式
Parameters
styleId
:
number
样式ID
lineWeight
:
number
线宽
color
:
number
颜色索引
Returns
void
get
Short
List
getShortList
()
:
PlotColorStyle
[]
获取简短列表
Returns
PlotColorStyle
[]
前9个样式加第10个样式
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
style
Id
name
color
Styles
Methods
init
get
Color
Style_
By
Id
set
Color
Style
get
Short
List
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
打印样式类 定义打印时的样式配置