MLightCAD
Preparing search index...
@mlightcad/cad-viewer
useEntityDrawStyle
Function useEntityDrawStyle
useEntityDrawStyle
(
editorRef
:
Ref
<
AcApDocManager
|
null
>
,
)
:
{
color
:
Ref
<
string
,
string
>
;
cssColor
:
ComputedRef
<
string
>
;
isShowToolbar
:
Ref
<
boolean
,
boolean
>
;
lineWeight
:
Ref
<
AcGiLineWeight
,
AcGiLineWeight
>
;
setColor
:
(
nextColor
:
AcCmColor
)
=>
void
;
setLineWeight
:
(
v
:
AcGiLineWeight
)
=>
void
;
syncFromDatabase
:
()
=>
void
;
syncToDatabase
:
()
=>
void
;
}
============================================================= Composable
Parameters
editorRef
:
Ref
<
AcApDocManager
|
null
>
Returns
{
color
:
Ref
<
string
,
string
>
;
cssColor
:
ComputedRef
<
string
>
;
isShowToolbar
:
Ref
<
boolean
,
boolean
>
;
lineWeight
:
Ref
<
AcGiLineWeight
,
AcGiLineWeight
>
;
setColor
:
(
nextColor
:
AcCmColor
)
=>
void
;
setLineWeight
:
(
v
:
AcGiLineWeight
)
=>
void
;
syncFromDatabase
:
()
=>
void
;
syncToDatabase
:
()
=>
void
;
}
color
:
Ref
<
string
,
string
>
Reactive state
cssColor
:
ComputedRef
<
string
>
Derived values
isShowToolbar
:
Ref
<
boolean
,
boolean
>
lineWeight
:
Ref
<
AcGiLineWeight
,
AcGiLineWeight
>
setColor
:
(
nextColor
:
AcCmColor
)
=>
void
setLineWeight
:
(
v
:
AcGiLineWeight
)
=>
void
syncFromDatabase
:
()
=>
void
syncToDatabase
:
()
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
=============================================================
Composable
Reactive state
Derived values
MLightCAD
Loading...
============================================================= Composable