scale

val scale: Float = 1f

Can also set the default value to the slice fraction.

Scale the slice like this:

val scaleMatrix = Matrix()
scaleMatrix.setScale(slice.scale, slice.scale, centerX, centerY)
piePath.transform(scaleMatrix)

Or with the canvas which seems to scale the whole drawing:

canvas.scale(slice.scale, slice.scale, centerX, centerY)