function create(x,y,imagePath,imageWidth,imageHeight) {
return new Kinetic.QImage({
x: x,
y: y,
image: images.Grid,
width: imageWidth,
height: imageHeight,
});
}
var a = create(100,100,images.Grid,96,96);
为什么这不起作用?