PTResizeWidgetView


@interface PTResizeWidgetView : UIView

The view for the small resize handles that appear for annotation resizing with a PTSelectionRectContainerView.

  • This widget’s location.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        PTResizeHandleLocation location;
  • The size of a resize widget.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) int length;
  • Returns a new instance of a PTResizeWidgetView.

    Declaration

    Objective-C

    - (nonnull instancetype)initAtPoint:(CGPoint)point
                           WithLocation:(PTResizeHandleLocation)loc;

    Parameters

    point

    The resize handle’s position in its superview.

    loc

    The location of the resize handle.