Region2d.Offset (Double, OffsetGapType, Double) Method

Offsets each contour in this region. See offset in Poly2d() for details.
public Region2d Offset( 
   double dist
   OffsetGapType gaptype
   double maxextend 
)

Parameters

dist
double

The distance to offset.

gaptype
OffsetGapType

The type of joins between offsetted segments. See OffsetGapType enumeration for details.

maxextend
double

If gaptype is 'Extend' this is the maximum length of extension, otherwise its not used.

Return Value

Region2d

A new region with the offsetted vaersion 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