UNPKG
laya-coreui-es
Version:
latest (0.0.2)
0.0.2
0.0.1
laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改
laya-coreui-es
/
build
/
lib
/
layaAir
/
laya
/
webgl
/
canvas
/
Path.d.ts
12 lines
(11 loc)
•
301 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
declare
class
Path
{
paths
:
any
[];
private
_curPath;
constructor
(
);
beginPath
(
convex
:
boolean
):
void
;
closePath
():
void
;
newPath
():
void
;
addPoint
(
pointX
:
number
,
pointY
:
number
):
void
;
push
(
points
:
any
[],
convex
:
boolean
):
void
;
reset
():
void
; }