Region2d.Swell Method

Shortcut to Stroke(...) the region with Round linecaps and round endcaps, that is the 'real' offset of the segments (all points of the result has the given distance to the original line). The result is _not_ trimmed. See Union() function for this. If the region is closed, an exception will be thrown.
Public Function Swell( _ 
ByVal radius As Double
) As Region2d
This language is not supported or no code example is available.
public Region2d Swell( 
double radius 
)
This language is not supported or no code example is available.
public:  
Region2d^ Swell( 
double radius 
)
This language is not supported or no code example is available.
public function Swell( 
radius : double 
) : Region2d;
This language is not supported or no code example is available.

Parameters

radius
double

The swell distance. Total with of each contour is this value times two.

Return Value

Region2d

A new, untrimmed and swelled version of this region.

.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