LineCap
This page covers the description of the LineCap enumeration
LineCap
enumeration consists of styles for rendering the endpoint of a stroked line.
const LineCap = {
Butt: 0,
Round: 1,
Square: 2,
}
Constant
Description
Butt
The stroke ends with the path, and does not project beyond it.
Round
The stroke projects out as a semicircle, with the center at the end of the path.
Square
The stroke projects out as a square, with the center at the end of the path.
Last updated
Was this helpful?