Skip to main content

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.

Fields

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

Properties

Name Description
DashArray Gets or sets a collection of values that specifies the lengths of alternating dashes and gaps.
DashCap Gets or sets a value that specifies the shape of each dash end.
DashOffset Gets or sets the distance from the start of a line to the beginning of a dash pattern.
EndLineCap Gets or sets the cap style of the line end.
LineJoin Gets or sets the join style for the ends of two consecutive lines.
MiterLimit Gets or sets the thickness limit of the join on a mitered corner.
NativeStrokeStyle For internal use.
StartLineCap Gets or sets the cap style of the line’s beginning.
Thickness Gets or sets the stroke thickness.
ThicknessScale Gets or sets the stroke thickness multiplier.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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
PropertyChanged
See Also