SharpDX.Direct2D1.StrokeStyleProperties

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > SharpDX SDK Reference > SharpDX.Direct2D1 >

SharpDX.Direct2D1.StrokeStyleProperties

Previous page Return to chapter overview Next page

Disclaimer: The SharpDX SDK Reference section was compiled from the official SharpDX Documentation and was NOT authored by NinjaTrader.  The contents of this section are provided as-is and only cover a fraction of what is available from the SharpDX SDK.  This page was intended only as a reference guide to help you get started with some of the 2D Graphics concepts used in the NinjaTrader.Custom assembly.  Please refer to the official SharpDX Documentation for additional members not covered in this reference.  For more seasoned graphic developers, the original MSDN Direct2D1 and DirectWrite unmanaged API documentation can also be helpful for understanding the DirectX/Direct2D run-time environment. For NinjaScript development purposes, we document only essential members in the structure of this page.

 

 

Definition

Describes the stroke that outlines a shape.

(See also unmanaged API documentation)

 

Syntax

struct StrokeStyleProperties

 

Properties

StartCap

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

EndCap

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

DashCap

The DashCap value for the shape at either end of each dash segment.

LineJoin

A LineJoin 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.

MiterLimit

The MeterLImit value 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.

DashStyle

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

DashOffset

A DashOffset 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.