var canvas = new fabric.Canvas('c', { selection: false });
var circle, isDown, origX, origY;
canvas.on('mouse:down', function(o){
isDown = true;
var pointer = canvas.getPointer(o.e);
origX = pointer.x;
origY = pointer.y;
circle = new fabric.Circle({
left: pointer.x,
top: pointer.y,
radius: 1,
strokeWidth: 5,
stroke: 'red',
selectable: false,
originX: 'center', originY: 'center'
});
canvas.add(circle);
});
canvas.on('mouse:move', function(o){
if (!isDown) return;
var pointer = canvas.getPointer(o.e);
circle.set({ radius: Math.abs(origX - pointer.x) });
canvas.renderAll();
});
canvas.on('mouse:up', function(o){
isDown = false;
});
ITMS-90032:“无效的图像路径 - 在关键字'CFBundleIcons'下引用的路径中找不到图像:AppIcon 129x29”
答案 0 :(得分:0)
iOS 8 / xCode 6回答,如果您找不到AppIcon 120x120的错误,请取消选中xcode的AppIcon设置中的汽车播放图标。假设你当然不使用汽车游戏
OR
确保此图片是您正在构建的目标成员:
另请注意,名称区分大小写。