Enum PathSegmentOptions
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Indicates whether a segment should be stroked and whether the join between this segment
and the previous one should be smooth. This enumeration allows a bitwise combination of
its member values.
D2D1_PATH_SEGMENT
[Flags]
public enum PathSegmentOptions
Fields
None = 0
The segment is joined as specified by the IStrokeStyle interface, and it is stroked.
ForceUnstroked = 1
The segment is not stroked.
ForceRoundLineJoin = 2
The segment is always joined with the one preceding it using a round line join, regardless of which LineJoin enumeration is specified by the IStrokeStyle interface. If this segment is the first segment and the figure is closed, a round line join is used to connect the closing segment with the first segment. If the figure is not closed, this setting has no effect on the first segment of the figure. If SetSegmentOptions(PathSegmentOptions) is called just before EndFigure(FigureEnd), the join between the closing segment and the last explicitly specified segment is affected.