예제 #1
0
파일: GWTCanvas.java 프로젝트: ylck/LGame
 @Override
 public Canvas clip(Path path) {
   assert path instanceof GWTPath;
   ((GWTPath) path).replay(ctx);
   ctx.clip();
   return this;
 }
예제 #2
0
파일: GWTCanvas.java 프로젝트: ylck/LGame
 @Override
 public Canvas strokePath(Path path) {
   assert path instanceof GWTPath;
   ((GWTPath) path).replay(ctx);
   ctx.stroke();
   isDirty = true;
   return this;
 }