LineCap
public enum LineCap : UInt32
The shape to be used at the ends of lines.
- butt: Line is squared off at path endpoint.
- round: End of line becomes a semicircle whose center is at path endpoint.
- projectingSquare: Line continues beyond endpoint, goes on half the endpoint stroke width.
-
Line is squared off at path endpoint.
Declaration
Swift
case butt
-
End of line becomes a semicircle whose center is at path endpoint.
Declaration
Swift
case round
-
Line continues beyond endpoint, goes on half the endpoint stroke width.
Declaration
Swift
case projectingSquare