Region2d.Clip Method

Clips the Region2d to a specified clipping box. The result is a new Region2d defining the part that is completely inside the clip box. The Region2d must consist of Poly2d that are closed and consist of only lines.
public bool Clip( 
   Extents2d clipbox
   out Region2d res 
)

Parameters

clipbox
Extents2d

The box to clip against.

res
Region2d

The resulting Region2d.

Return Value

bool

true if any portion of the Region2d is inside the clipbox.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition