iink-ts - v4.0.0
Preparing search index...
DecoratorOps
Variable DecoratorOps
Const
DecoratorOps
:
{
create
(
kind
:
DecoratorKind
,
style
:
{
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
,
targetIds
?:
string
[]
,
bounds
?:
TBox
,
)
:
TDecorator
;
overlaps
(
decorator
:
TDecorator
,
box
:
TBox
)
:
boolean
;
setBounds
(
decorator
:
TDecorator
,
bounds
:
TOBB
)
:
void
;
}
= ...
Type Declaration
create
:
function
create
(
kind
:
DecoratorKind
,
style
:
{
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
,
targetIds
?:
string
[]
,
bounds
?:
TBox
,
)
:
TDecorator
Parameters
kind
:
DecoratorKind
style
:
{
color
?:
string
;
fill
?:
string
;
opacity
?:
number
;
width
?:
number
;
[
key
:
string
]:
string
|
number
|
undefined
;
}
targetIds
:
string
[]
= []
Optional
bounds
:
TBox
Returns
TDecorator
overlaps
:
function
overlaps
(
decorator
:
TDecorator
,
box
:
TBox
)
:
boolean
Parameters
decorator
:
TDecorator
box
:
TBox
Returns
boolean
setBounds
:
function
setBounds
(
decorator
:
TDecorator
,
bounds
:
TOBB
)
:
void
Parameters
decorator
:
TDecorator
bounds
:
TOBB
Returns
void
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
iink-ts - v4.0.0
Loading...