UNPKG
kityminder
Version:
latest (1.0.1)
1.0.1
Kity Minder
github.com/fex-team/kityminder
fex-team/kityminder
kityminder
/
lib
/
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
); } }); });