MGLLineJoin

enum MGLLineJoin : NSUInteger {}

The display of lines when joining.

Values of this type are used in the lineJoin property of MGLLineStyleLayer.

  • A join 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

    MGLLineJoinBevel

    Swift

    case bevel = 0
  • A join 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

    MGLLineJoinRound

    Swift

    case round = 1
  • A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.

    Declaration

    Objective-C

    MGLLineJoinMiter

    Swift

    case miter = 2