PTPanelPosition

enum PTPanelPosition : NSUInteger {}

The position (orientation) of a PTPanelView, which affects the placement of the resize-controls and decorations shown by the panel.

  • The panel is on the left side of its container.

    Declaration

    Objective-C

    PTPanelPositionLeft

    Swift

    case left = 0
  • The panel is on the right side of its container.

    Declaration

    Objective-C

    PTPanelPositionRight

    Swift

    case right = 1
  • The panel is on the leading side of its container.

    Declaration

    Objective-C

    PTPanelPositionLeading

    Swift

    case leading = 2
  • The panel is on the trailing side of its container.

    Declaration

    Objective-C

    PTPanelPositionTrailing

    Swift

    case trailing = 3