'Draw a rectangle given the center (x,y) of the rectangle and dimensions (width, height)
color - The object\'s color as a simple CVColor object, if no value  is sepcified
the default is used.
alpha - The alpha blending for the object. If this value is -1 then the
layer default value is used. A value of 255 means opaque, while 0
means transparent.
w -     The line width in pixels. This does not work if antialiasing is enabled.
filled -The rectangle is filled in
parameters:
center - Tuple
dimenions - Tuple
color - Color object or Color Tuple
width - Int
filled - Boolean
alpha - Int'

def centeredRectangle(self, center, dimensions, color=Color.DEFAULT, width=1, filled=False, alpha=(-1)):

    if filled:
        width = 0
    xtl = (center[0] - (dimensions[0] / 2))
    ytl = (center[1] - (dimensions[1] / 2))
    r = pg.Rect(xtl, ytl, dimensions[0], dimensions[1])
    pg.draw.rect(self._mSurface, self._csvRGB2pgColor(color, alpha), r, width)
    dimInt = tuple((int(x) for x in dimensions))
    self._mSVG.add(self._mSVG.rect(insert=(int(xtl), int(ytl)), size=dimInt))
    return None
