Line2d.Offset (Double) Method

Returns a new offsetted line. Positive offset offsetts to the right of the segment, and negative to the left.
public Line2d Offset( 
   double dist 
)

Parameters

dist
double

The distance to offset

Return Value

Line2d

A new line segment which is the offset of this one.

.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