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 Region2d Swell( 
   double radius 
)

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