def drawFilledSlice(self, startX, width, color):
        """Draw a filled slice
        
        startX -- X coordinate where slice should start
        width -- width in pixels
        color -- color tuple
        """
        
        colorIndex = self.__image.colorAllocate(color)
        self.__image.filledRectangle( (startX, 0),
                                      (startX + width - 1, self.__height),
                                      colorIndex )
        return
dataset/ETHPy150Open longnow/longview/sliceMaker.py/SlicedImage.drawFilledSlice/original