Exemple #1
0
 @Override
 public Canvas clip(Path path) {
   assert path instanceof GWTPath;
   ((GWTPath) path).replay(ctx);
   ctx.clip();
   return this;
 }
Exemple #2
0
 @Override
 public Canvas strokePath(Path path) {
   assert path instanceof GWTPath;
   ((GWTPath) path).replay(ctx);
   ctx.stroke();
   isDirty = true;
   return this;
 }