Poly2d.Swell Method
Shortcut to Stroke(...) the poly with Round linecaps and round endcaps, that is the 'real' offset
of the line (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 poly is closed, an exception will be thrown.
Public Function Swell( _
ByVal radius As Double _
) As Poly2d
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
radius
-
double
The distance from the result to this poly.
Return Value
Poly2d
A new, untrimmed and swelled version of this poly.
.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