Region2d.Offset (Double, OffsetGapType, Double) Method

Offsets each contour in this region. See offset in Poly2d() for details.
Public Function Offset( _ 
ByVal dist As Double, _ 
ByVal gaptype As OffsetGapType, _ 
ByVal maxextend As Double
) As Region2d
This language is not supported or no code example is available.
public Region2d Offset( 
double dist
OffsetGapType gaptype
double maxextend 
)
This language is not supported or no code example is available.
public:  
Region2d^ Offset( 
double dist
OffsetGapType gaptype
double maxextend 
)
This language is not supported or no code example is available.
public function Offset( 
dist : double
gaptype : OffsetGapType
maxextend : double 
) : Region2d;
This language is not supported or no code example is available.

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