| CanvasStrokeStyle Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Microsoft.Graphics.Canvas.Geometry
 Syntax
Syntaxpublic sealed class CanvasStrokeStyle : IDisposable
The CanvasStrokeStyle type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CanvasStrokeStyle | Initializes a new instance of the CanvasStrokeStyle class. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | CustomDashStyle | Gets or sets an array describing a custom dash pattern.
               This overrides the DashStyle
               property, which is only used when CustomDashStyle is set to null. | 
|  | DashCap | Gets or sets how the ends of each dash are drawn. Defaults to Square.
               If this is set to Flat, dots will have zero size so only dashes are visible. | 
|  | DashOffset | Gets or sets how far into the dash sequence the stroke will start. | 
|  | DashStyle | Gets or sets the stroke's dash pattern.
               This is ignored if CustomDashStyle has been set. | 
|  | EndCap | Gets or sets the type of shape used at the end of a stroke. Defaults to Flat. | 
|  | LineJoin | Gets or sets the type of joint used at the vertices of a shape's outline. | 
|  | MiterLimit | Gets or sets the limit on the ratio of the miter length to half the stroke's thickness. | 
|  | StartCap | Gets or sets the type of shape used at the beginning of a stroke. Defaults to Flat. | 
|  | TransformBehavior | Gets or sets how the world transform, dots per inch (DPI), and stroke width affect the shape of the pen. | 
 Methods
Methods Remarks
RemarksWhen using Direct2D interop, this Win2D class corresponds to the Direct2D interface ID2D1StrokeStyle1.
 See Also
See Also