Skip to main content
A newer version of this page is available. .

StrokeStyle Members

Contains parameters of the style used to draw a stroke line.

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 of the ratio of the miter length to half this stroke line’s thickness.
NativeStrokeStyle Provides access to the native stroke style.
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.
ThicknessScale Specifies the thickness scale.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

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