Search
Preparing search index...
The search index is not available
tinoe
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tinoe
Shape
Class Shape
Hierarchy
<internal>
.
default
Shape
Index
Constructors
constructor
Properties
auto
Close
current
Point
curves
holes
Methods
extract
Points
get
Points
get
Points
Holes
line
To
move
To
set
From
Points
Constructors
constructor
new
Shape
(
points
?:
Vector2
[]
)
:
Shape
Parameters
Optional
points:
Vector2
[]
Returns
Shape
Properties
auto
Close
auto
Close
:
boolean
current
Point
current
Point
:
Vector2
curves
curves
:
<internal>
.
default
[]
holes
holes
:
Shape
[]
Methods
extract
Points
extract
Points
(
divisions
:
number
)
:
{
holes
:
any
[]
;
shape
:
Vector2
[]
}
Parameters
divisions:
number
Returns
{
holes
:
any
[]
;
shape
:
Vector2
[]
}
holes
:
any
[]
shape
:
Vector2
[]
get
Points
get
Points
(
divisions
?:
number
)
:
Vector2
[]
Parameters
Optional
divisions:
number
Returns
Vector2
[]
get
Points
Holes
get
Points
Holes
(
divisions
:
number
)
:
any
[]
Parameters
divisions:
number
Returns
any
[]
line
To
line
To
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
move
To
move
To
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
From
Points
set
From
Points
(
points
:
Vector2
[]
)
:
void
Parameters
points:
Vector2
[]
Returns
void
Exports
<internal>
Shape
constructor
auto
Close
current
Point
curves
holes
extract
Points
get
Points
get
Points
Holes
line
To
move
To
set
From
Points
Generated using
TypeDoc