PTWidgetAnnotationProperties


@interface PTWidgetAnnotationProperties : PTPDFAnnotationProperties

Properties of a widget annotation.

  • Initializes a newly created PTWidgetAnnotationProperties instance.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()

    Return Value

    An initialized PTWidgetAnnotationProperties instance.

  • The border color of the widget.

    Note

    The default value of this property is nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *borderColor;

    Swift

    var borderColor: UIColor? { get set }
  • The width of the border.

    Note

    The default value of this property is 1.0.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat borderWidth;

    Swift

    var borderWidth: CGFloat { get set }
  • The background color of the widget.

    Note

    The default value of this property is nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *backgroundColor;

    Swift

    var backgroundColor: UIColor? { get set }