Table of Contents

Enum PathSegment

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.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.

public enum PathSegment

Fields

ForceRoundLineJoin = 2

The segment is always joined with the one preceding it using a round line join, regardless of which LineJoinenumeration is specified by the StrokeStyle 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 ID2D1SimplifiedGeometrySink::SetSegmentFlags is called just before ID2D1SimplifiedGeometrySink::EndFigure, the join between the closing segment and the last explicitly specified segment is affected.

ForceUnstroked = 1

The segment is not stroked.

None = 0

The segment is joined as specified by the StrokeStyle interface, and it is stroked.