Poly2d.Stroke Method
Public Function Stroke( _
ByVal strokeradius As Double, _
ByVal linecaps As LineCapMode, _
ByVal gaptype As OffsetGapType, _
ByVal maxdist As Double _
) As Poly2d
This language is not supported or no code example is available.
public Poly2d Stroke(
double strokeradius,
LineCapMode linecaps,
OffsetGapType gaptype,
double maxdist
)
This language is not supported or no code example is available.
public:
Poly2d^ Stroke(
double strokeradius,
LineCapMode linecaps,
OffsetGapType gaptype,
double maxdist
)
This language is not supported or no code example is available.
public function Stroke(
strokeradius : double,
linecaps : LineCapMode,
gaptype : OffsetGapType,
maxdist : double
) : Poly2d;
This language is not supported or no code example is available.
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.