def Set (self, x, y, color):
        offset = (_pyKyra._canvas_resource_width(self._o) * y) + x

        if hasattr(color, 'TYPE') and color.TYPE == 'KrRGBA':
            _pyKyra._pixels_set (self._o_pixels, offset, color._o)
        else:
            c = KrRGBA (color)
            _pyKyra._pixels_set (self._o_pixels, offset, c._o)
 def Width (self):
     return _pyKyra._canvas_resource_width (self._o)