ellipse

fun ellipse(builder: EllipseClipBuilder.() -> Unit)(source)

Adds an elliptical clipping mask to the current clip context.

This method configures an elliptical clipping region with customizable properties defined within the provided builder. The ellipse is characterized by its horizontal and vertical radii, as well as its center position.

Parameters

builder

a lambda with receiver scope of EllipseClipBuilder, allowing configuration of the ellipse's attributes such as radiusX, radiusY, and center position.