Click or drag to resize
CanvasStrokeStyle Constructor
Initializes a new instance of the CanvasStrokeStyle class.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasStrokeStyle()
Remarks

A new stroke style is constructed with the following defaults:

CanvasStrokeStyle defaultStyle = new CanvasStrokeStyle()
{
    StartCap = CanvasCapStyle.Flat,
    EndCap = CanvasCapStyle.Flat,
    MiterLimit = 10,
    DashStyle = CanvasDashStyle.Solid,
    DashCap = CanvasCapStyle.Square,
    DashOffset = 0,
    CustomDashStyle = new float[] { },
    TransformBehavior = CanvasStrokeTransformBehavior.Normal
};

See Also