Table of Contents

Struct StrokeStyleProperties

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll

Describes the stroke that outlines a shape.

public struct StrokeStyleProperties
Inherited Members

Remarks

The following illustration shows different dashOffset values for the same custom dash style.

Fields

DashCap

The shape at either end of each dash segment.

public CapStyle DashCap

Field Value

CapStyle

DashOffset

A value that specifies an offset in the dash sequence. A positive dash offset value shifts the dash pattern, in units of stroke width, toward the start of the stroked geometry. A negative dash offset value shifts the dash pattern, in units of stroke width, toward the end of the stroked geometry.

public float DashOffset

Field Value

float

DashStyle

A value that specifies whether the stroke has a dash pattern and, if so, the dash style.

public DashStyle DashStyle

Field Value

DashStyle

EndCap

The cap applied to the end of all the open figures in a stroked geometry.

public CapStyle EndCap

Field Value

CapStyle

LineJoin

A value that describes how segments are joined. This value is ignored for a vertex if the segment flags specify that the segment should have a smooth join.

public LineJoin LineJoin

Field Value

LineJoin

MiterLimit

The limit of the thickness of the join on a mitered corner. This value is always treated as though it is greater than or equal to 1.0f.

public float MiterLimit

Field Value

float

StartCap

The cap applied to the start of all the open figures in a stroked geometry.

public CapStyle StartCap

Field Value

CapStyle