Preparing search index...
The search index is not available
@overlapmedia/imagemapper
@overlapmedia/imagemapper
CornerShapedElement
Class CornerShapedElement
Abstract
Hierarchy (
view full
)
Component
CornerShapedElement
Rectangle
Circle
Ellipse
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
Corner
Shaped
Element
(
svgElementName
,
propChangeListener
,
editorOwner
,
x
,
y
,
width
?
,
height
?
)
:
CornerShapedElement
Parameters
svgElementName
:
keyof
SVGElementTagNameMap
propChangeListener
:
{
height
:
(
(
element
,
height
,
prevHeight
,
dim
)
=>
void
)
;
width
:
(
(
element
,
width
,
prevWidth
,
dim
)
=>
void
)
;
x
:
(
(
element
,
x
,
prevX
,
dim
)
=>
void
)
;
y
:
(
(
element
,
y
,
prevY
,
dim
)
=>
void
)
;
}
height
:
(
(
element
,
height
,
prevHeight
,
dim
)
=>
void
)
(
element
,
height
,
prevHeight
,
dim
)
:
void
Parameters
element
:
SVGElement
height
:
number
prevHeight
:
number
dim
:
Dim
Returns
void
width
:
(
(
element
,
width
,
prevWidth
,
dim
)
=>
void
)
(
element
,
width
,
prevWidth
,
dim
)
:
void
Parameters
element
:
SVGElement
width
:
number
prevWidth
:
number
dim
:
Dim
Returns
void
x
:
(
(
element
,
x
,
prevX
,
dim
)
=>
void
)
(
element
,
x
,
prevX
,
dim
)
:
void
Parameters
element
:
SVGElement
x
:
number
prevX
:
number
dim
:
Dim
Returns
void
y
:
(
(
element
,
y
,
prevY
,
dim
)
=>
void
)
(
element
,
y
,
prevY
,
dim
)
:
void
Parameters
element
:
SVGElement
y
:
number
prevY
:
number
dim
:
Dim
Returns
void
editorOwner
:
Editor
x
:
number
y
:
number
width
:
number
= 0
height
:
number
= 0
Returns
CornerShapedElement
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
?
)
:
CornerShapedElement
Parameters
Optional
freeze
:
boolean
Returns
CornerShapedElement
get
Handles
get
Handles
(
)
:
Handle
[]
Returns
Handle
[]
is
Valid
is
Valid
(
)
:
boolean
Returns
boolean
move
move
(
deltaX
,
deltaY
)
:
CornerShapedElement
Parameters
deltaX
:
number
deltaY
:
number
Returns
CornerShapedElement
resize
resize
(
x
,
y
)
:
CornerShapedElement
Parameters
x
:
number
y
:
number
Returns
CornerShapedElement
set
Handles
Visibility
set
Handles
Visibility
(
visible
?
)
:
CornerShapedElement
Parameters
Optional
visible
:
boolean
Returns
CornerShapedElement
set
Is
Selected
set
Is
Selected
(
selected
?
)
:
CornerShapedElement
Parameters
Optional
selected
:
boolean
Returns
CornerShapedElement
set
Style
set
Style
(
style
)
:
CornerShapedElement
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
CornerShapedElement
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