Share via


LineCap Enum

Definition

Specifies the style of line cap (ending) to use at the end of lines when drawing.

public enum class LineCap
public enum LineCap
type LineCap = 
Public Enum LineCap
Inheritance
LineCap

Fields

Name Value Description
Butt 0

The line ends at the endpoint with no extension.

Round 1

The line is capped with a semicircle whose diameter equals the line thickness.

Square 2

The line is capped with a square that has the same width as the line thickness and extends beyond the end point by half the line thickness.

Applies to