'Draw a polygon from a list of (x,y)
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.
width - The
width in pixels. This does not work if antialiasing is enabled.
filled -The object is filled in
antialias - Draw the edges of the object antialiased. Note this does not work when the object is filled.'

def polygon(self, points, color=Color.DEFAULT, width=1, filled=False, antialias=True, alpha=(-1)):

    if filled:
        width = 0
    if (not filled):
        if (antialias and (width == 1)):
            pg.draw.aalines(self._mSurface, self._csvRGB2pgColor(color, alpha), True, points, width)
        else:
            pg.draw.lines(self._mSurface, self._csvRGB2pgColor(color, alpha), True, points, width)
    else:
        pg.draw.polygon(self._mSurface, self._csvRGB2pgColor(color, alpha), points, width)
    return None
