Preparing search index...
The search index is not available
@overlapmedia/imagemapper
@overlapmedia/imagemapper
Rectangle
Class Rectangle
Hierarchy (
view full
)
CornerShapedElement
Rectangle
Index
Constructors
constructor
Properties
dim
editor
Owner
element
handles
is
Frozen
is
Selected
style
Methods
_log
Warn
On
Op
On
Frozen
export
freeze
get
Handles
is
Valid
move
resize
set
Handles
Visibility
set
Is
Selected
set
Style
Constructors
constructor
new
Rectangle
(
editorOwner
,
x
,
y
,
width
?
,
height
?
)
:
Rectangle
Parameters
editorOwner
:
Editor
x
:
number
y
:
number
width
:
number
= 0
height
:
number
= 0
Returns
Rectangle
Properties
dim
dim
:
Dim
Readonly
editor
Owner
editor
Owner
:
Editor
Readonly
element
element
:
SVGElement
handles
handles
:
Handle
[]
is
Frozen
is
Frozen
:
boolean
= false
is
Selected
is
Selected
:
boolean
= false
style
style
:
{
component
:
Style
;
componentHover
:
{
off
:
Style
;
on
:
Style
;
}
;
componentSelect
:
{
off
:
Style
;
on
:
Style
;
}
;
handle
:
Style
;
handleHover
:
Style
;
}
= ...
Type declaration
component
:
Style
component
Hover
:
{
off
:
Style
;
on
:
Style
;
}
off
:
Style
on
:
Style
component
Select
:
{
off
:
Style
;
on
:
Style
;
}
off
:
Style
on
:
Style
handle
:
Style
handle
Hover
:
Style
Methods
_log
Warn
On
Op
On
Frozen
_log
Warn
On
Op
On
Frozen
(
op
)
:
void
Parameters
op
:
string
Returns
void
export
export
(
)
:
{
height
:
number
;
width
:
number
;
x
:
number
;
y
:
number
;
}
Returns
{
height
:
number
;
width
:
number
;
x
:
number
;
y
:
number
;
}
height
:
number
width
:
number
x
:
number
y
:
number
freeze
freeze
(
freeze
?
)
:
Rectangle
Parameters
Optional
freeze
:
boolean
Returns
Rectangle
get
Handles
get
Handles
(
)
:
Handle
[]
Returns
Handle
[]
is
Valid
is
Valid
(
)
:
boolean
Returns
boolean
move
move
(
deltaX
,
deltaY
)
:
Rectangle
Parameters
deltaX
:
number
deltaY
:
number
Returns
Rectangle
resize
resize
(
x
,
y
)
:
Rectangle
Parameters
x
:
number
y
:
number
Returns
Rectangle
set
Handles
Visibility
set
Handles
Visibility
(
visible
?
)
:
Rectangle
Parameters
Optional
visible
:
boolean
Returns
Rectangle
set
Is
Selected
set
Is
Selected
(
selected
?
)
:
Rectangle
Parameters
Optional
selected
:
boolean
Returns
Rectangle
set
Style
set
Style
(
style
)
:
Rectangle
Parameters
style
:
{
component
:
Style
;
componentHover
:
{
off
:
Style
;
on
:
Style
;
}
;
componentSelect
:
{
off
:
Style
;
on
:
Style
;
}
;
handle
:
Style
;
handleHover
:
Style
;
}
component
:
Style
component
Hover
:
{
off
:
Style
;
on
:
Style
;
}
off
:
Style
on
:
Style
component
Select
:
{
off
:
Style
;
on
:
Style
;
}
off
:
Style
on
:
Style
handle
:
Style
handle
Hover
:
Style
Returns
Rectangle
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
dim
editor
Owner
element
handles
is
Frozen
is
Selected
style
_log
Warn
On
Op
On
Frozen
export
freeze
get
Handles
is
Valid
move
resize
set
Handles
Visibility
set
Is
Selected
set
Style
@overlapmedia/imagemapper
Loading...
Generated using
TypeDoc