setOpacity

RasterBrushApi.setOpacity(self, opacity)
Arguments: