PSPDFLinkAnnotationView

Objective-C


@interface PSPDFLinkAnnotationView
    : PSPDFLinkAnnotationBaseView <PSPDFOverridable>

Swift

class LinkAnnotationView : LinkAnnotationBaseView, Overridable

Displays an annotation link.

  • The border color. This is passed onto a CALayer. A nil border color means the border is black.

    Note

    This property will be set to match the link annotation borderColor.

    Note

    If the dash array is invalid, the border will not be rendered. See PDF Reference §8.4.3.6 (Table 55).

    To use a fixed value override this property setter and call super with a custom value.

    Declaration

    Objective-C

    @property (nonatomic, nullable) UIColor *borderColor;

    Swift

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

    Declaration

    Objective-C

    @property (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 (nonatomic) CGFloat strokeWidth;

    Swift

    var strokeWidth: CGFloat { get set }