Skip to content

StrokeLineCap enumeration

Specifies the cap drawn at the start and end of each open sub-path.

public enum StrokeLineCap
name value description
Flat 0 A flat cap that ends exactly at the path endpoint. This is the default.
Round 1 A semicircular cap that extends past the endpoint by half the stroke width.
Square 2 A square cap that extends past the endpoint by half the stroke width.