clipTo function
Painter
clipTo(
- Painter p
Implementation
Painter clipTo(Painter p) {
var q = _clippedScreens[p];
if (q == null) {
q = ClippedScreenPainter(p.frame);
_clippedScreens[p] = q;
}
q.syncFrom(p);
return q;
}