pathDrawable

fun pathDrawable(color: Int, path: Path, sourceSize: Float): ShapeDrawable(source)

Fills path with color, rescaled from the size it was measured at to whatever bounds the view ends up with.