clipAnyRegion MethodStatic

Compute and return the portions of the input region that are within the clipper.

clipAnyRegion(region: AnyRegion, clipper: Clipper): AnyRegion | undefined

@returns clipped subregion, as a single AnyRegion

Parameter Type Description
region AnyRegion input region, unmodified
clipper Clipper used to compute the clipped components

Returns - AnyRegion | undefined

clipped subregion, as a single AnyRegion

Defined in

Last Updated: 04 June, 2026