Partager via


StrokeStartLineCap

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a PenLineCap enumeration value that describes the shape at the start of a Stroke.

<object StrokeStartLineCap="PenLineCap"  .../>
value = object.StrokeStartLineCap
object.StrokeStartLineCap = value

Property Value

Type: PenLineCap

One of the enumeration values (Flat, Square, Round, or Triangle) that specifies the shape at the start of a Stroke.

This property is read/write. The default value is Flat.

Managed Equivalent

StrokeStartLineCap

Remarks

This property has no effect if you set it on a shape that has no Stroke or that has no start or end points. For example, this property has no effect if you set it on an Ellipse, which has a closed stroke.