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 Function Clip( _ 
ByVal clipbox As Extents2d, _ 
ByRef res As Region2d
) As Boolean
This language is not supported or no code example is available.
public bool Clip( 
Extents2d clipbox
out Region2d res 
)
This language is not supported or no code example is available.
public:  
bool Clip( 
Extents2d^ clipbox
Region2d^& res 
)
This language is not supported or no code example is available.
public function Clip( 
clipbox : Extents2d
res : Region2d 
) : boolean;
This language is not supported or no code example is available.

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