MSFLineJoinType

Objective-C

enum MSFLineJoinType : NSInteger {}

Swift

enum MSFLineJoinType : Int, @unchecked Sendable

Possible styles in which line segments are connected with each other.

  • Line segments are not connected with each other. The fastest and ugliest.

    Declaration

    Objective-C

    MSF_LINE_JOIN_TYPE_NONE

    Swift

    case LINE_JOIN_TYPE_NONE = 0
  • Line segments are connected with each other using miter connections. This is the preferred mode (fast and good looking generally).

    Declaration

    Objective-C

    MSF_LINE_JOIN_TYPE_MITER

    Swift

    case LINE_JOIN_TYPE_MITER = 1
  • Line segments are connected with each other using bevel (straight line) connectors. Fast but results in an unnatural line.

    Declaration

    Objective-C

    MSF_LINE_JOIN_TYPE_BEVEL

    Swift

    case LINE_JOIN_TYPE_BEVEL = 2
  • Line segments are connected with each other using circle sectors resulting in round corners. Slowest and prettiest.

    Declaration

    Objective-C

    MSF_LINE_JOIN_TYPE_ROUND

    Swift

    case LINE_JOIN_TYPE_ROUND = 3