LineCap
This page covers the description of the LineCap enumeration
LineCap enumeration consists of styles for rendering the endpoint of a stroked line.
1
const LineCap = {
2
Butt: 0,
3
Round: 1,
4
Square: 2,
5
}
Copied!
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.
For more information, please see the official Apple and Android documentation.
Last modified 1mo ago
Copy link