rectangle

Configures a rectangular clipping mask within the current clip context.

This method allows setting up a rectangular clipping region with customizable properties defined inside the provided builder.

Parameters

builder

a lambda with receiver scope of RectangleClipBuilder, allowing configuration of the rectangle's attributes such as position and dimensions.