SegmentMask

public enum SegmentMask : UInt32

SegmentMask constants correspond to each drawing Verb type in Path; for instance, if Path only contains lines, only the .line bit is set.

  • Set if verb array contains a .line verb

    Declaration

    Swift

    case line = 1
  • Set if verb array contains .quad. Note that conicTo() may add a quad.

    Declaration

    Swift

    case quad = 2
  • Set if verb array contains a .conic verb

    Declaration

    Swift

    case conic = 4
  • Set if verb array contains .cubic verb

    Declaration

    Swift

    case cubic = 8