MGLLineStyleLayerLineCap
enum MGLLineStyleLayerLineCap : NSUInteger {}
The display of line endings.
-
A cap with a squared-off end which is drawn to the exact endpoint of the line.
Declaration
Objective-C
MGLLineStyleLayerLineCapButt
Swift
case butt = 0
-
A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line’s width and centered on the endpoint of the line.
Declaration
Objective-C
MGLLineStyleLayerLineCapRound
Swift
case round = 1
-
A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line’s width.
Declaration
Objective-C
MGLLineStyleLayerLineCapSquare
Swift
case square = 2