‘strokeLineCap’ property is used to specify end cap style.
Below table summarizes possible value for strokeLineCap.
strokeLineCap |
Value |
SQUARE |
Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width. |
BUTT |
Ends unclosed subpaths and dash segments with no added decoration. |
ROUND |
Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen. |
Previous Next Home
No comments:
Post a Comment