drawLandmarks

fun Canvas.drawLandmarks(landmarks: List<Landmark>, paint: Paint, radius: Float, bounds: PreviewImageBounds = bounds())

Draw given landmarks on the Canvas using paint and radius.

If the preview image coordinates do not match the Canvas coordinates, bounds of the image preview should be provided.

See also