Search
Preparing search index...
The search index is not available
Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Documentation
@svg-drawing/core
Point
Class Point
Hierarchy
Point
Index
Constructors
constructor
Properties
x
y
Methods
add
clone
eql
scale
sub
to
Vector
Constructors
constructor
new
Point
(
x
:
number
, y
:
number
)
:
Point
Parameters
x:
number
y:
number
Returns
Point
Properties
x
x
:
number
y
y
:
number
Methods
add
add
(
p
:
Point
)
:
Point
Parameters
p:
Point
Returns
Point
clone
clone
(
)
:
Point
Returns
Point
eql
eql
(
p
:
Point
)
:
boolean
Parameters
p:
Point
Returns
boolean
scale
scale
(
r
:
number
)
:
Point
Parameters
r:
number
Returns
Point
sub
sub
(
p
:
Point
)
:
Point
Parameters
p:
Point
Returns
Point
to
Vector
to
Vector
(
)
:
Vector
Returns
Vector
Modules
@svg-
drawing/animation
@svg-
drawing/core
@svg-
drawing/img-
trace
@svg-
drawing/react
Point
constructor
x
y
add
clone
eql
scale
sub
to
Vector
Generated using
TypeDoc