Skip to main content

StrokeStyle Members

Contains parameters of a style used to draw a stroke line on a map.

Constructors

Name Description
StrokeStyle() Initializes a new instance of the StrokeStyle class with default settings.

Fields

Name Description
DashArrayProperty static Identifies the StrokeStyle.DashArray dependency property.
DashCapProperty static Identifies the StrokeStyle.DashCap dependency property.
DashOffsetProperty static Identifies the StrokeStyle.DashOffset dependency property.
EndLineCapProperty static Identifies the StrokeStyle.EndLineCap dependency property.
LineJoinProperty static Identifies the StrokeStyle.LineJoin dependency property.
MiterLimitProperty static Identifies the StrokeStyle.MiterLimit dependency property.
StartLineCapProperty static Identifies the StrokeStyle.StartLineCap dependency property.
ThicknessProperty static Identifies the StrokeStyle.Thickness dependency property.

Properties

Name Description
DashArray Gets or sets a list of comma or white space separated lengths and percentages that specify the lengths of alternating dashes and gaps.
DashCap Gets or sets a value that specifies how the ends of a dash are drawn.
DashOffset Gets or sets the distance from the line start to the beginning of a dash pattern.
EndLineCap Gets or sets the type of shape that is used at the end of a stroke.
LineJoin Gets or sets the join style for the ends of two consecutive lines drawn with this stroke line.
MiterLimit Gets or sets the limit on the ratio of the miter length to half this stroke line’s thickness.
StartLineCap Gets or sets the type of shape that is used at the beginning of a stroke.
Thickness Gets or sets the thickness of the stroke line that is painted on a map.

Events

Name Description
PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
See Also