drawPath
abstract fun drawPath(path: Shape, paint: Paint, style: DrawStyle = DrawStyle.Fill, @FloatRange(from = 0.0, to = 1.0) alpha: Float = 1.0f)
Draws an arbitrary geometric path or Shape (e.g. Path2D, Polygon, GeneralPath).
Parameters
path
the shape to draw.
paint
the paint or color used to render the shape.
style
whether to fill or outline the shape.
alpha
the opacity to render with.