public Rect getFramingRect() {
        return framingRect;
    }
The framing rectangle, relative to this view. Use to draw the rectangle.

Will never be null while the preview is active.

@return the framing rect, or null
@see #isPreviewActive()
zxing-android-embedded/src/com/journeyapps/barcodescanner/CameraPreview.java