PTCalloutEditTool


@interface PTCalloutEditTool : PTAnnotEditTool

The PTCalloutEditTool is used to edit free text callout (PTExtendedAnnotTypeCallout) annotations.

  • The callout start point, in screen coordinates.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint calloutStartPoint;

    Swift

    var calloutStartPoint: CGPoint { get set }
  • The callout knee point, in screen coordinates.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint calloutKneePoint;

    Swift

    var calloutKneePoint: CGPoint { get set }
  • The callout end point, in screen coordinates.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint calloutEndPoint;

    Swift

    var calloutEndPoint: CGPoint { get set }
  • The callout content rect, in screen coordinates.

    Declaration

    Objective-C

    @property (nonatomic) CGRect contentRect;

    Swift

    var contentRect: CGRect { get set }
  • The callout start point resize widget.

    Declaration

    Objective-C

    @property (nonatomic, strong) PTResizeWidgetView *_Nonnull calloutStartResizeWidget;

    Swift

    var calloutStartResizeWidget: PTResizeWidgetView { get set }
  • The callout knee point resize widget.

    Declaration

    Objective-C

    @property (nonatomic, strong) PTResizeWidgetView *_Nonnull calloutKneeResizeWidget;

    Swift

    var calloutKneeResizeWidget: PTResizeWidgetView { get set }
  • The currently selected resize widget.

    Declaration

    Objective-C

    @property (nonatomic, weak, nullable) PTResizeWidgetView *selectedResizeWidget;

    Swift

    weak var selectedResizeWidget: PTResizeWidgetView? { get set }