浏览代码

material: Path.addPath => Path.shift

/main
xingwei.zhu 6 年前
当前提交
6820b203
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      Runtime/rendering/proxy_box.cs

6
Runtime/rendering/proxy_box.cs


return base.hitTest(result, position: position);
}
//todo:xingwei.zhu: implementation shadow + compositeLayer + Path.shift
//todo:xingwei.zhu: implementation shadow + compositeLayer
//Path offsetPath = this._clip.shift(offset);
Path offsetPath = this._clip;
Path offsetPath = new Path();
offsetPath.addPath(this._clip, offset);
Canvas canvas = context.canvas;
// if (this.elevation != 0.0 && paintShadows) {

正在加载...
取消
保存