'Create a new LinearRegionItem.
**Arguments:**
values          A list of the positions of the lines in the region. These are not
limits; limits can be set by specifying bounds.
orientation     Options are LinearRegionItem.Vertical or LinearRegionItem.Horizontal.
If not specified it will be vertical.
brush           Defines the brush that fills the region. Can be any arguments that
are valid for :func:`mkBrush <pyqtgraph.mkBrush>`. Default is
transparent blue.
movable         If True, the region and individual lines are movable by the user; if
False, they are static.
bounds          Optional [min, max] bounding values for the region'

def __init__(self, values=[0, 1], orientation=None, brush=None, movable=True, bounds=None):

    UIGraphicsItem.__init__(self)
    if (orientation is None):
        orientation = LinearRegionItem.Vertical
    self.orientation = orientation
    self.bounds = QtCore.QRectF()
    self.blockLineSignal = False
    self.moving = False
    self.mouseHovering = False
    if (orientation == LinearRegionItem.Horizontal):
        self.lines = [InfiniteLine(QtCore.QPointF(0, values[0]), 0, movable=movable, bounds=bounds), InfiniteLine(QtCore.QPointF(0, values[1]), 0, movable=movable, bounds=bounds)]
    elif (orientation == LinearRegionItem.Vertical):
        self.lines = [InfiniteLine(QtCore.QPointF(values[1], 0), 90, movable=movable, bounds=bounds), InfiniteLine(QtCore.QPointF(values[0], 0), 90, movable=movable, bounds=bounds)]
    else:
        raise Exception('Orientation    must    be    one    of    LinearRegionItem.Vertical    or    LinearRegionItem.Horizontal')
    for l in self.lines:
        l.setParentItem(self)
        l.sigPositionChangeFinished.connect(self.lineMoveFinished)
        l.sigPositionChanged.connect(self.lineMoved)
    if (brush is None):
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255, 50))
    self.setBrush(brush)
    self.setMovable(movable)
