()
| 189 | } |
| 190 | |
| 191 | public void endClip() { |
| 192 | if (failedClipCount == 0) { |
| 193 | batch.flush(); //must flush batch to ensure stuffed rendered during clip respects that clip |
| 194 | ScissorStack.popScissors(); |
| 195 | } else { |
| 196 | failedClipCount--; |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | public void draw(FDisplayObject displayObj) { |
| 201 | if (displayObj.getWidth() <= 0 || displayObj.getHeight() <= 0) { |
no test coverage detected