Poly2d.Stroke Method
public Poly2d Stroke( |
double strokeradius , |
LineCapMode linecaps , |
OffsetGapType gaptype , |
double maxdist |
) |
Parameters
- strokeradius
- double
The offset distance of the line. The total thickness of the resulting polygon is this value time two.
- linecaps
- LineCapMode
Describes how the endcaps is created. See LineCapMode enumeration for details.
- gaptype
- OffsetGapType
Describes how the segments are joined. See OffsetGapType enumeration for details.
- maxdist
- double
The maximium distance to use if gaptype is Extend, otherwise this parameter is not used.
Return Value
Poly2dA new poly which is a closed, 'fattened' version of this poly.