iink-ts - v3.2.1
Preparing search index...
StyleManager
Class StyleManager
Index
Accessors
current
Pen
Style
pen
Style
pen
Style
Classes
theme
Constructors
constructor
Methods
set
Pen
Style
set
Pen
Style
Classes
set
Theme
Accessors
current
Pen
Style
get
currentPenStyle
()
:
TPenStyle
Returns
TPenStyle
pen
Style
get
penStyle
()
:
TPenStyle
Returns
TPenStyle
pen
Style
Classes
get
penStyleClasses
()
:
string
Returns
string
theme
get
theme
()
:
TTheme
Returns
TTheme
Constructors
constructor
new
StyleManager
(
penStyle
?:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
,
theme
?:
{
".math"
?:
{
"font-family"
?:
string
}
;
".math-solved"
?:
{
color
?:
string
;
"font-family"
?:
string
}
;
".text"
?:
{
"font-family"
?:
string
;
"font-size"
?:
number
}
;
ink
?:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
;
[
key
:
string
]:
unknown
;
}
,
)
:
StyleManager
Parameters
Optional
penStyle
:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
Optional
theme
:
{
".math"
?:
{
"font-family"
?:
string
}
;
".math-solved"
?:
{
color
?:
string
;
"font-family"
?:
string
}
;
".text"
?:
{
"font-family"
?:
string
;
"font-size"
?:
number
}
;
ink
?:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
;
[
key
:
string
]:
unknown
;
}
Returns
StyleManager
Methods
set
Pen
Style
setPenStyle
(
style
?:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
,
)
:
void
Parameters
Optional
style
:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
Returns
void
set
Pen
Style
Classes
setPenStyleClasses
(
penStyleClass
?:
string
)
:
void
Parameters
penStyleClass
:
string
= ""
Returns
void
set
Theme
setTheme
(
theme
?:
{
".math"
?:
{
"font-family"
?:
string
}
;
".math-solved"
?:
{
color
?:
string
;
"font-family"
?:
string
}
;
".text"
?:
{
"font-family"
?:
string
;
"font-size"
?:
number
}
;
ink
?:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
;
[
key
:
string
]:
unknown
;
}
,
)
:
void
Parameters
Optional
theme
:
{
".math"
?:
{
"font-family"
?:
string
}
;
".math-solved"
?:
{
color
?:
string
;
"font-family"
?:
string
}
;
".text"
?:
{
"font-family"
?:
string
;
"font-size"
?:
number
}
;
ink
?:
{
"-myscript-pen-fill-color"
?:
string
;
"-myscript-pen-fill-style"
?:
string
;
"-myscript-pen-width"
?:
number
;
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
;
[
key
:
string
]:
unknown
;
}
Returns
void
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Accessors
current
Pen
Style
pen
Style
pen
Style
Classes
theme
Constructors
constructor
Methods
set
Pen
Style
set
Pen
Style
Classes
set
Theme
iink-ts - v3.2.1
Loading...