transform

abstract fun transform(canvas: Canvas): PixelOpacity

Apply the transformation to the canvas.

Return

The opacity of the image after drawing.

Parameters

canvas

The Canvas to draw on.