Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
models/path-2d
Path2D
Class Path2D<T>
TODO:
getLastN(count: number): T[];
getFirstN(count: number): T[]
Type parameters
T
:
SimpleVector2
Hierarchy
Path2D
Index
Constructors
constructor
Properties
points
Accessors
first
last
length
Methods
get
Point
Constructors
constructor
new
Path2D<T>
(
points
:
readonly
T
[]
)
:
Path2D
<
T
>
Type parameters
T
:
SimpleVector2
Parameters
points:
readonly
T
[]
Returns
Path2D
<
T
>
Properties
Protected
Readonly
points
points
:
readonly
T
[]
Accessors
first
get
first
(
)
:
T
Returns
T
last
get
last
(
)
:
T
Returns
T
length
get
length
(
)
:
number
Returns
number
Methods
get
Point
get
Point
(
index
:
number
)
:
T
Parameters
index:
number
Returns
T
Modules
models/path-
2d
Path2D
constructor
points
first
last
length
get
Point
Generated using
TypeDoc
TODO: