Enum LineCap

LineCap enumeration

The line cap style shall specify the shape that shall be used at the ends of open subpaths (and dashes, if any) when they are stroked.

public enum LineCap

Values

NameValueDescription
ButtCap0Butt cap. The stroke shall be squared off at the endpoint of the path. There shall be no projection beyond the end of the path.
RoundCap1Round cap. A semicircular arc with a diameter equal to the line width shall be drawn around the endpoint and shall be filled in.
SquareCap2Projecting square cap. The stroke shall continue beyond the endpoint of the path for a distance equal to half the line width and shall besquared off.

See Also