public int getWidth() { if (region == null) { return delegate.getWidth(); } return region.getRight() - region.getLeft() + 1; }