PSPDFLinkAnnotationView


@interface PSPDFLinkAnnotationView : PSPDFLinkAnnotationBaseView

Displays an annotation link.

  • The border color. This is passed onto a CALayer so a nil color means black. Defaults to UIColor.clearColor.

    Note

    This property will be set to match the link annotation borderColor. To use a fixed value override this property setter and call super with a custom value.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) UIColor *borderColor;

    Swift

    var borderColor: UIColor? { get set }
  • Roundness of the border. Defaults to 0.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat cornerRadius;

    Swift

    var cornerRadius: CGFloat { get set }
  • Stroke width. Defaults to 0.

    Note

    This property will be set to match the link annotation lineWidth. To use a fixed value override this property setter and call super with a custom value.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat strokeWidth;

    Swift

    var strokeWidth: CGFloat { get set }