iink-ts - v4.0.0
Preparing search index...
ShapeUtil
Class ShapeUtil
Hierarchy (
View Summary
)
SymbolUtil
<
TShape
>
ShapeUtil
Index
Constructors
constructor
Properties
type
Methods
can
Resize
can
Rotate
can
Select
can
Transform
create
get
Snap
Points
get
SVG
Element
get
SVG
Path
overlaps
update
Derived
Fields
Constructors
constructor
new
ShapeUtil
()
:
ShapeUtil
Returns
ShapeUtil
Properties
Readonly
type
type
:
Shape
= SymbolType.Shape
Methods
can
Resize
canResize
(
_symbol
:
TShape
)
:
boolean
Parameters
_symbol
:
TShape
Returns
boolean
can
Rotate
canRotate
(
_symbol
:
TShape
)
:
boolean
Parameters
_symbol
:
TShape
Returns
boolean
can
Select
canSelect
(
_symbol
:
TShape
)
:
boolean
Parameters
_symbol
:
TShape
Returns
boolean
can
Transform
canTransform
(
_symbol
:
TShape
)
:
boolean
Parameters
_symbol
:
TShape
Returns
boolean
create
create
(
partial
:
TPartialDeep
<
TShape
>
)
:
TShape
Parameters
partial
:
TPartialDeep
<
TShape
>
Returns
TShape
get
Snap
Points
getSnapPoints
(
shape
:
TShape
)
:
TPoint
[]
Parameters
shape
:
TShape
Returns
TPoint
[]
get
SVG
Element
getSVGElement
(
shape
:
TShape
)
:
SVGGraphicsElement
Parameters
shape
:
TShape
Returns
SVGGraphicsElement
Static
get
SVG
Path
getSVGPath
(
shape
:
TShape
)
:
string
Parameters
shape
:
TShape
Returns
string
overlaps
overlaps
(
shape
:
TShape
,
box
:
TBox
)
:
boolean
Parameters
shape
:
TShape
box
:
TBox
Returns
boolean
update
Derived
Fields
updateDerivedFields
(
shape
:
TShape
)
:
void
Parameters
shape
:
TShape
Returns
void
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
type
Methods
can
Resize
can
Rotate
can
Select
can
Transform
create
get
Snap
Points
get
SVG
Element
get
SVG
Path
overlaps
update
Derived
Fields
iink-ts - v4.0.0
Loading...