toPath

Converts a Polygon to a Path.


fun Rectangle.toPath(radius: Double): Path

Converts Rectangle with radius to Path.


fun Rectangle.toPath(    topLeftRadius: Double = 0.0,     topRightRadius: Double = 0.0,     bottomRightRadius: Double = 0.0,     bottomLeftRadius: Double = 0.0): Path

Converts Rectangle with radii to Path.


Converts an Ellipse to a Path.