private boolean isObscured(final int x, final int y, final int width, final int height) {
MultiRectArea obscuredArea = ComponentInternals.getComponentInternals().getObscuredRegion(parent);
if (obscuredArea == null || obscuredArea.isEmpty()) {
return false;
}
return obscuredArea.intersects(x, y, width, height);
}
private void resetBlitting() {
wasPainted = false;
lastPaintPosition = null;