LineCap

public enum LineCap : UInt32, CaseIterable, Codable

Determines the cap (line ending) style.

  • Line caps are rounded. This is the default value.

    Declaration

    Swift

    case round
  • Line caps are square.

    Declaration

    Swift

    case square
  • The line ends immediately and has no cap.

    Declaration

    Swift

    case butt