StrokeLineCap enumeration

StrokeLineCap enumeration

Specifies the shape to be used at the end of open subpaths when they are stroked.

The StrokeLineCap type exposes the following members:

Fields

FieldDescription
BUTTThe stroke ends with a flat edge perpendicular to the direction of the line.
ROUNDThe stroke ends with a half-circle, which has a radius equal to the stroke width and is centered on the end of the line.
SQUAREThe stroke ends with a square edge that extends half the stroke width beyond the end of the line.

See Also