UNPKG
kity
Version:
latest (2.0.4)
2.0.4
Kity Graphic Library
github.com/fex-team/kity
fex-team/kity
kity
/
src
/
graphic
/
polygon.js
14 lines
(8 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define
(
function
(
require
,
exports
,
module
) {
return
require
(
'../core/class'
).
createClass
(
'Polygon'
, {
base
:
require
(
'./poly'
),
constructor
:
function
(
points
) {
this
.
callBase
(points,
true
); } }); });