Off Renderer

From FIFE development wiki
Jump to: navigation, search


Introduction

Usage

Options

    def setEnabled(self, *args):
        """setEnabled(self, bool enabled)"""
        return _fife.OffRenderer_setEnabled(self, *args)

    def isEnabled(self):
        """isEnabled(self) -> bool"""
        return _fife.OffRenderer_isEnabled(self)

    def setClipArea(self, *args):
        """setClipArea(self, Rect area)"""
        return _fife.OffRenderer_setClipArea(self, *args)

    def getClipArea(self):
        """getClipArea(self) -> Rect"""
        return _fife.OffRenderer_getClipArea(self)

    def addLine(self, *args):
        """
        addLine(self, string group, Point n1, Point n2, uint8_t r, uint8_t g, 
            uint8_t b, uint8_t a = 255)
        addLine(self, string group, Point n1, Point n2, uint8_t r, uint8_t g, 
            uint8_t b)
        """
        return _fife.OffRenderer_addLine(self, *args)

    def addPoint(self, *args):
        """
        addPoint(self, string group, Point n, uint8_t r, uint8_t g, uint8_t b, 
            uint8_t a = 255)
        addPoint(self, string group, Point n, uint8_t r, uint8_t g, uint8_t b)
        """
        return _fife.OffRenderer_addPoint(self, *args)

    def addTriangle(self, *args):
        """
        addTriangle(self, string group, Point n1, Point n2, Point n3, uint8_t r, 
            uint8_t g, uint8_t b, uint8_t a = 255)
        addTriangle(self, string group, Point n1, Point n2, Point n3, uint8_t r, 
            uint8_t g, uint8_t b)
        """
        return _fife.OffRenderer_addTriangle(self, *args)

    def addQuad(self, *args):
        """
        addQuad(self, string group, Point n1, Point n2, Point n3, Point n4, 
            uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255)
        addQuad(self, string group, Point n1, Point n2, Point n3, Point n4, 
            uint8_t r, uint8_t g, uint8_t b)
        """
        return _fife.OffRenderer_addQuad(self, *args)

    def addVertex(self, *args):
        """
        addVertex(self, string group, Point n, int32_t size, uint8_t r, uint8_t g, 
            uint8_t b, uint8_t a = 255)
        addVertex(self, string group, Point n, int32_t size, uint8_t r, uint8_t g, 
            uint8_t b)
        """
        return _fife.OffRenderer_addVertex(self, *args)

    def addText(self, *args):
        """addText(self, string group, Point n, IFont font, string text)"""
        return _fife.OffRenderer_addText(self, *args)

    def addImage(self, *args):
        """addImage(self, string group, Point n, ImagePtr image)"""
        return _fife.OffRenderer_addImage(self, *args)

    def addAnimation(self, *args):
        """addAnimation(self, string group, Point n, AnimationPtr animation)"""
        return _fife.OffRenderer_addAnimation(self, *args)

    def resizeImage(self, *args):
        """
        resizeImage(self, string group, Point n, ImagePtr image, int32_t width, 
            int32_t height)
        """
        return _fife.OffRenderer_resizeImage(self, *args)

    def removeAll(self, *args):
        """
        removeAll(self, string group)
        removeAll(self)
        """
        return _fife.OffRenderer_removeAll(self, *args)
 

Example